commit | 5d1aace69bea0c76229335dcdc09ec63eda63931 | [log] [tgz] |
---|---|---|
author | Deepak Kodihalli <dkodihal@in.ibm.com> | Wed Jan 18 00:17:39 2017 -0600 |
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | Fri Jan 27 10:43:03 2017 -0600 |
tree | 59445c1ef573400e2d716326a652fcabd19a3502 | |
parent | cbd12c8f5d0d5227f8eebf10302188a9bfc54f20 [diff] [blame] |
elog-gen.py : order inherited errors The elog-gen.py script should process errors such that the generated code has definitions for parent errors before their child errors are defined. Change-Id: I035292731346bdba969f549c7e4033066814890f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml b/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml index 1ec9997..6f75178 100644 --- a/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml +++ b/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml
@@ -1,5 +1,7 @@ - name: TestErrorOne description: this is test error one + inherits: + - TestErrorTwo - name: TestErrorTwo description: This is test error two