diff options
author | Brenda J. Butler <bjb@mojatatu.com> | 2017-10-31 14:29:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 11:04:47 +0900 |
commit | 170b8ffa71412eeacb20589b807f4bc75a61e507 (patch) | |
tree | 94cb539f6536fae1a08fccfc9e4a4c3d8fd4e3bf /net/dsa/dsa.c | |
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>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions