automation: Update the test-type options

After adding Python 3.8 unit tests, the README for the automation test
got outdated. Mention `--help` to get the actual list of possible tests
instead of documenting them all in the README.

Signed-off-by: Till Maas <opensource@till.name>
This commit is contained in:
Till Maas 2020-01-07 16:05:51 +01:00
parent 85735f4a35
commit 228d72b402

View File

@ -33,16 +33,7 @@ Assuming *docker* is installed on the host, just run:
By default, `./automation/run-tests.sh` will run all tests in the container
using 'nmstate/fedora-nmstate-dev' docker image.
You may change the test type by using:
* `./automation/run-tests.sh --test-type lint`:
Static analysis of code using 'nmstate/fedora-nmstate-dev' docker image.
* `./automation/run-tests.sh --test-type unit_py36`:
Unit tests in Python 3.6 using 'nmstate/fedora-nmstate-dev' docker image.
* `./automation/run-tests.sh --test-type unit_py37`:
Unit tests in Python 3.7 using 'nmstate/fedora-nmstate-dev' docker image.
You may change the test type by specifying the `--test-type` flag, for example:
* `./automation/run-tests.sh --test-type integ --el8`:
Integration tests using 'nmstate/centos8-nmstate-dev' docker image.
@ -50,6 +41,8 @@ You may change the test type by using:
* `./automation/run-tests.sh --test-type integ`:
Integration tests using 'nmstate/fedora-nmstate-dev' docker image.
For a full list of command-line flags, run `./automation/run-tests.sh --help`.
## Development
### Run the tests manually in the container