Implement basic smoke test

This commit is contained in:
Mikolaj Izdebski 2022-05-10 11:08:24 +02:00
parent 0b873c5b74
commit 603699159a
3 changed files with 15 additions and 1 deletions

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

View File

@ -5,4 +5,5 @@ decision_contexts:
- bodhi_update_push_testing
- bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}

12
plans/smoke.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Basic smoke test
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