summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/TdcPlugin.py
diff options
context:
space:
mode:
authorLucas Bates <lucasb@mojatatu.com>2018-12-06 23:42:26 +0100
committerDavid S. Miller <davem@davemloft.net>2018-12-08 01:39:03 +0100
commit915c158deaf97be49e71250f43e1539542217962 (patch)
treeae8445c156a1fabe1a2d06823cb4394d100aefd3 /tools/testing/selftests/tc-testing/TdcPlugin.py
parenttc-testing: Add new TdcResults module (diff)
downloadlinux-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.py3
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):