Refactor smoke test
This commit is contained in:
parent
25e03b2e22
commit
9031b9c2ea
@ -1,14 +1,20 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: shell
|
||||
tests:
|
||||
- name: /smoke/generate-stax-reader
|
||||
test: |
|
||||
set -x
|
||||
PATH=/usr/lib/jvm/java-11-openjdk/bin:${PATH}
|
||||
modello plans/smoke.mdo java test-src 1.0.0 foo 8
|
||||
javac -d test-bin test-src/smoke/*
|
||||
modello plans/smoke.mdo stax-reader test-src 1.0.0 foo 8
|
||||
javac -d test-bin -cp test-bin test-src/smoke/io/stax/*
|
||||
find test-src test-bin
|
||||
test -f test-bin/smoke/SomeBean.class
|
||||
test -f test-bin/smoke/io/stax/SmokeStaxReader.class
|
||||
prepare:
|
||||
how: install
|
||||
package: java-11-openjdk-devel
|
||||
execute:
|
||||
script: |
|
||||
set -x
|
||||
modello plans/smoke.mdo java test-src 1.0.0 foo 8
|
||||
javac -d test-bin test-src/smoke/*
|
||||
modello plans/smoke.mdo stax-reader test-src 1.0.0 foo 8
|
||||
javac -d test-bin -cp test-bin test-src/smoke/io/stax/*
|
||||
find test-src test-bin
|
||||
test -f test-bin/smoke/SomeBean.class
|
||||
test -f test-bin/smoke/io/stax/SmokeStaxReader.class
|
||||
how: tmt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user