commit | 170b8ffa71412eeacb20589b807f4bc75a61e507 | [log] [tgz] |
---|---|---|
author | Brenda J. Butler <bjb@mojatatu.com> | Tue Oct 31 14:29:03 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 01 11:04:47 2017 +0900 |
tree | 94cb539f6536fae1a08fccfc9e4a4c3d8fd4e3bf | |
parent | 6c26c3fbc3295ce71f5e03caccc9eeb7369123ca [diff] |
tc-testing: better test case file error reporting tdc.py reads a bunch of test cases in json files. When a json file cannot be parsed, tdc just exits and does not run any tests. This patch will cause tdc to print a message with the file name and line number, then that file will be ignored and the rest of the tests will be processed. Signed-off-by: Brenda J. Butler <bjb@mojatatu.com> Acked-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>