jaxb/plans/smoke.fmf
2023-04-20 14:13:35 +02:00

25 lines
821 B
Plaintext

summary: Basic smoke test
prepare:
- how: install
package:
- jakarta-activation2
- java-11-openjdk-devel
- jaxb-core
- jaxb-istack-commons-runtime
- jaxb-runtime
discover:
how: shell
tests:
- name: /smoke/marshal-unmarshal
test: |
CLASSPATH+=:/usr/share/java/jakarta-activation2/jakarta.activation-api-2.jar
CLASSPATH+=:/usr/share/java/jaxb-api4/jakarta.xml.bind-api-4.jar
CLASSPATH+=:/usr/share/java/jaxb-istack-commons/istack-commons-runtime.jar
CLASSPATH+=:/usr/share/java/jaxb/jaxb-runtime.jar
CLASSPATH+=:/usr/share/java/jaxb/jaxb-core.jar
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