jaxb/plans/smoke.fmf
Marián Konček 06d99b5e1a Fix tests
2023-05-18 13:50:49 +00: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