]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: Allow tdc plugins to see test case data
authorLucas Bates <lucasb@mojatatu.com>
Tue, 9 Jul 2019 01:34:26 +0000 (21:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 21:07:20 +0000 (14:07 -0700)
commit8dd5b20d3bc6705e053badb3bfe7defd278c8689
tree9002f00cf328cfd8f23f554644780e1654af9bd6
parente013d515c38a4ffc129db7b292a748ecf8a0f984
tc-testing: Allow tdc plugins to see test case data

Instead of only passing the test case name and ID, pass the
entire current test case down to the plugins. This change
allows plugins to start accepting commands and directives
from the test cases themselves, for greater flexibility
in testing.

Signed-off-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/TdcPlugin.py
tools/testing/selftests/tc-testing/tdc.py