jaxb/plans/smoke.fmf
Marián Konček ffaa106759 Fix tests
Related: rhbz#2139777
2023-02-09 14:18:05 +01:00

26 lines
859 B
Plaintext

summary: Basic smoke test
prepare:
- how: install
package:
- jakarta-activation2
- java-11-openjdk-devel
- jaxb-core
- jaxb-istack-commons-runtime
- 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