Refactor smoke test
This commit is contained in:
parent
1e0b98a2ef
commit
97bd021e49
@ -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}
|
||||
|
@ -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
13
plans/smoke.fmf
Normal 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
|
Loading…
Reference in New Issue
Block a user