jaxb/plans/smoke.fmf

26 lines
838 B
Plaintext
Raw Normal View History

2023-01-27 14:24:35 +00:00
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