tools: tc-testing: Introduce plugin architectureThis should be a general test architecture, and yet allow specifictests to be done. Introduce a plugin architecture.An individual test has 4 stag
tools: tc-testing: Introduce plugin architectureThis should be a general test architecture, and yet allow specifictests to be done. Introduce a plugin architecture.An individual test has 4 stages, setup/execute/verify/teardown. Eachplugin gets a chance to run a function at each stage, plus one callbefore all the tests are called ("pre" suite) and one after all thetests are called ("post" suite). In addition, just before eachcommand is executed, the plugin gets a chance to modify the commandusing the "adjust_command" hook. This makes the test suite quiteflexible.Future patches will take some functionality out of the tdc.py script andplace it in plugins.To use the plugins, place the implementation in the plugins directoryand run tdc.py. It will notice the plugins and use them.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>
show more ...