]> 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)
commitbf65c4b0a2bb6249ba01853c778b9cf8d50d1d10
tree679cdac7a53cf582ce75a4ade3791dc0a03804bd
parente5938915b9a56b901b15f1c16ee590353ce4009e
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