]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita7d50a0dd81b09dc13fa9e4b55765e8684bc8226
tree9002f00cf328cfd8f23f554644780e1654af9bd6
parenta1cd4e4324afa4d8a2d6d0ce16bc689d6bab02cc
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