tools: tc-testing: Command line parms
authorBrenda J. Butler <bjb@mojatatu.com>
Wed, 14 Feb 2018 19:09:19 +0000 (14:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Feb 2018 20:38:33 +0000 (15:38 -0500)
commitf87c7f646c6f704b29504d63c4ab965584c4aacb
tree679cdac7a53cf582ce75a4ade3791dc0a03804bd
parentc402fb7e380c142f2ad3e94d4a1a096fc55b643f
tools: tc-testing: Command line parms

Separate the functionality of the command line parameters into "selection"
parameters, "action" parameters and other parameters.

"Selection" parameters are for choosing which tests on which to act.
"Action" parameters are for choosing what to do with the selected tests.
"Other" parameters are for global effect (like "help" or "verbose").

With this commit, we add the ability to name a directory as another
selection mechanism.  We can accumulate a number of tests by directory,
file, category, or even by test id, instead of being constrained to
run all tests in one collection or just one test.

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>
tools/testing/selftests/tc-testing/creating-testcases/AddingTestCases.txt
tools/testing/selftests/tc-testing/tdc.py
tools/testing/selftests/tc-testing/tdc_helper.py