Update README adding how to run a specific test.
This commit is contained in:
parent
b90aa97120
commit
fa42fa7ad2
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
|
@ -35,3 +35,27 @@ Run the following command to see the report, setting the value of the above run
|
|||
```
|
||||
$ tmt run --id run-NNN report -vvv plans --default
|
||||
```
|
||||
|
||||
#### Running a specific test
|
||||
|
||||
You can run a specific test.
|
||||
|
||||
List available tests.
|
||||
|
||||
```
|
||||
$ tmt test ls
|
||||
/Sanity/native-extension-gem-is-installed-without-error/ruby25
|
||||
/Sanity/native-extension-gem-is-installed-without-error/ruby26
|
||||
/Sanity/native-extension-gem-is-installed-without-error/ruby27
|
||||
/Sanity/native-extension-gem-is-installed-without-error/ruby30
|
||||
/Sanity/native-extension-gem-is-installed-without-error/ruby31
|
||||
/Sanity/native-extension-gem-is-installed-without-error/system
|
||||
/run-basic-rails-application
|
||||
/systemtap-static-probes-in-ruby
|
||||
```
|
||||
|
||||
Run the following command to run a specific test with `-n` option to specify a regular expression to match the test name for Fedora rawhide:
|
||||
|
||||
```
|
||||
$ tmt -c distro=fedora-rawhide run --all provision -h virtual -i fedora-rawhide plans --default tests -n '^/systemtap-static-probes-in-ruby$'
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue