|
|
(13 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| == Introduction ==
| | Please refer to [[Avocado]] for the current incarnation of KVM-Autotest. |
|
| |
|
| Recent autotest supports passing test parameters to control file through --args options. This is also been introduced in kvm-autotest which can let user do some basic tests configurations (variants limitation or excluding, parameters configuration) through command line.
| | [[Category:Redirects]][[Category:Testing]] |
| | |
| You should have some basic understanding of the test parameters and configuration file format before using the command line. If not, you are suggested to read the [[KVM-Autotest/Test Config File|test configuration file format]] and [[KVM-Autotest/Parameters|test parameters]] before continuing.
| |
| | |
| == How to use ==
| |
| | |
| It's very simple for you to use the command line, suppose you are in the directory of kvm subtest, you can pass test parameters through:
| |
| | |
| ../../bin/autotest control --args="key1=value1 key2=value2 ...... keyN=valueN"
| |
| | |
| KVM-Autotest supports two kinds of parameters:
| |
| | |
| # keywords "only" and "no": they serve as the same function as in configuration file, limit and exclude variants.
| |
| ## For each "only=x", the control file would generate a "only x" and pass it to the configuration file analyzer
| |
| ## For each "no=y", the control would generate a "no y" and pass it to the configuration file analyzer
| |
| # test parameters: all other are passed to the configuration analyzer untouched, that is to say, you could specify any test parameters by this way.
| |
| | |
| == Limitations ==
| |
| | |
| == Example ==
| |
| | |
| == TODO ==
| |
Latest revision as of 15:00, 27 June 2016
Please refer to Avocado for the current incarnation of KVM-Autotest.