jaxb/plans/smoke.fmf
2023-03-17 15:10:02 +01:00

25 lines
909 B
Plaintext

summary: Basic smoke test
prepare:
- how: install
package:
- java-11-openjdk-devel
- xmvn-tools
- mvn(jakarta.activation:jakarta.activation-api)
- mvn(jakarta.xml.bind:jakarta.xml.bind-api)
- mvn(com.sun.istack:istack-commons-runtime)
discover:
how: shell
tests:
- name: /smoke/marshal-unmarshal
test: |
CLASSPATH+=":$(xmvn-resolve jakarta.activation:jakarta.activation-api)"
CLASSPATH+=":$(xmvn-resolve jakarta.xml.bind:jakarta.xml.bind-api)"
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