Refactor smoke tests

Give smoke tests signifficant names so that they can be distinguished
more easily in the results.
This commit is contained in:
Mikolaj Izdebski 2022-08-18 15:10:04 +02:00
parent f486e38f48
commit ccecbc77bc
2 changed files with 23 additions and 12 deletions

View File

@ -1,5 +1,4 @@
summary:
Run javapackages-specific tests
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://pagure.io/javapackages-validator-tests

View File

@ -1,12 +1,24 @@
summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/maven-version
test: /usr/libexec/javapackages-bootstrap/mvn --version
- name: /smoke/maven-home-version
test: /usr/share/javapackages-bootstrap/bin/mvn --version
- name: /smoke/xmvn-version
test: /usr/libexec/javapackages-bootstrap/xmvn --version
- name: /smoke/xmvn-install-help
test: /usr/libexec/javapackages-bootstrap/xmvn-install --help
- name: /smoke/xmvn-resolve-help
test: /usr/libexec/javapackages-bootstrap/xmvn-resolve --help
- name: /smoke/xmvn-subst-help
test: /usr/libexec/javapackages-bootstrap/xmvn-subst --help
- name: /smoke/ant-version
test: /usr/libexec/javapackages-bootstrap/ant -version
- name: /smoke/cup
test: echo 'non terminal bar; bar::=;' | /usr/libexec/javapackages-bootstrap/cup
- name: /smoke/jflex-version
test: /usr/libexec/javapackages-bootstrap/jflex -version
execute:
script:
- /usr/libexec/javapackages-bootstrap/mvn --version
- /usr/share/javapackages-bootstrap/bin/mvn --version
- /usr/libexec/javapackages-bootstrap/xmvn --version
- /usr/libexec/javapackages-bootstrap/xmvn-install --help
- /usr/libexec/javapackages-bootstrap/xmvn-resolve --help
- /usr/libexec/javapackages-bootstrap/xmvn-subst --help
- /usr/libexec/javapackages-bootstrap/ant -version
- echo 'non terminal bar; bar::=;' | /usr/libexec/javapackages-bootstrap/cup
- /usr/libexec/javapackages-bootstrap/jflex -version
how: tmt