Refactor smoke test

This commit is contained in:
Mikolaj Izdebski 2022-08-25 07:57:51 +02:00
parent 1e0b98a2ef
commit 97bd021e49
3 changed files with 14 additions and 11 deletions

View File

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

View File

@ -1,10 +0,0 @@
summary: Basic smoke test
prepare:
how: install
package: xmvn-minimal
execute:
script: |
set -x
cd ./plans/forktest
javac -d target/test-classes ForkTest.java
xmvn -V -e -B -o surefire:test

13
plans/smoke.fmf Normal file
View File

@ -0,0 +1,13 @@
summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/forktest
test: |
set -x
cd ./plans/forktest
javac -d target/test-classes ForkTest.java
xmvn -V -e -B -o surefire:test
prepare:
how: install
package: xmvn-minimal