Lines Matching full:errors
5 1) Dumps every error defined in the errors.yaml files passed in
11 "file":"xyz/openbmc_project/Common/Callout.errors.yaml",
20 showing if any errors are in one file but not the other.
32 """Finds all of the errors in all of the error YAML files in
50 # xyz/openbmc_project/x.errors.yaml -> xyz.openbmc_project.x.Error
52 error_base = error_base.replace(".errors.yaml", "")
56 metadata_file = yaml_file.replace("errors.yaml", "metadata.yaml")
115 """Finds all of the *.errors.yaml files in the directory passed in.
116 Returns a list of entries like xyz/openbmc_project/Common.Errors.yaml.
127 for f in [f for f in files if f.endswith(".errors.yaml")]
133 def crosscheck(errors, policy, outfile): argument
134 """Crosschecks that the errors found in the YAML are in the
139 yaml_errors = [x["error"] for x in errors]
142 out.write("YAML errors not in policy table:\n\n")
148 out.write("\n%d total errors in the YAML\n\n" % len(yaml_errors))
149 out.write("Policy errors not in YAML:\n\n")
161 "\n%d total errors (with %d total details blocks) in the "
180 default="obmc-errors.json",
200 errors = get_errors(dirs) variable
204 errors, outfile, sort_keys=True, indent=2, separators=(",", ":")
211 crosscheck(errors, policy, args.crosscheck_file)