]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b64bfbb66351f80d743aa24c381a76a99a4788a
tree679cdac7a53cf582ce75a4ade3791dc0a03804bd
parentf436f95a5f6c2422e69c038342f24a5e30486415
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