diff options
author | Lucas Bates <lucasb@mojatatu.com> | 2018-12-06 23:42:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-08 01:39:03 +0100 |
commit | 915c158deaf97be49e71250f43e1539542217962 (patch) | |
tree | ae8445c156a1fabe1a2d06823cb4394d100aefd3 /tools/testing/selftests/tc-testing/TdcPlugin.py | |
parent | tc-testing: Add new TdcResults module (diff) | |
download | linux-915c158deaf97be49e71250f43e1539542217962.tar.xz linux-915c158deaf97be49e71250f43e1539542217962.zip |
tc-testing: Implement the TdcResults module in tdc
In tdc and the valgrind plugin, begin using the TdcResults module
to track executed test cases.
Signed-off-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/TdcPlugin.py')
-rw-r--r-- | tools/testing/selftests/tc-testing/TdcPlugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/tc-testing/TdcPlugin.py b/tools/testing/selftests/tc-testing/TdcPlugin.py index 3ee9a6dacb52..1d9e279331eb 100644 --- a/tools/testing/selftests/tc-testing/TdcPlugin.py +++ b/tools/testing/selftests/tc-testing/TdcPlugin.py @@ -18,11 +18,12 @@ class TdcPlugin: if self.args.verbose > 1: print(' -- {}.post_suite'.format(self.sub_class)) - def pre_case(self, test_ordinal, testid): + def pre_case(self, test_ordinal, testid, test_name): '''run commands before test_runner does one test''' if self.args.verbose > 1: print(' -- {}.pre_case'.format(self.sub_class)) self.args.testid = testid + self.args.test_name = test_name self.args.test_ordinal = test_ordinal def post_case(self): |