bf6e2f1fb4
Related: rhbz#2139777
26 lines
838 B
Plaintext
26 lines
838 B
Plaintext
summary: Basic smoke test
|
|
prepare:
|
|
how: install
|
|
package:
|
|
- jakarta-activation2
|
|
- istack-commons-runtime
|
|
- java-11-openjdk-devel
|
|
- jaxb-core
|
|
- jaxb-runtime
|
|
- xmvn-tools
|
|
discover:
|
|
how: shell
|
|
tests:
|
|
- name: /smoke/marshal-unmarshal
|
|
test: |
|
|
CLASSPATH+=":$(xmvn-resolve jakarta.activation:jakarta.activation-api:2)"
|
|
CLASSPATH+=":$(xmvn-resolve jakarta.xml.bind:jakarta.xml.bind-api:4)"
|
|
CLASSPATH+=":$(xmvn-resolve com.sun.istack:istack-commons-runtime)"
|
|
CLASSPATH+=":$(xmvn-resolve org.glassfish.jaxb:jaxb-runtime)"
|
|
CLASSPATH+=":$(xmvn-resolve org.glassfish.jaxb:jaxb-core)"
|
|
export CLASSPATH
|
|
/usr/lib/jvm/java-11-openjdk/bin/javac plans/Smoke.java
|
|
/usr/lib/jvm/java-11-openjdk/bin/java -cp "${CLASSPATH}:plans" Smoke
|
|
execute:
|
|
how: tmt
|