jaxb/plans/smoke.fmf

26 lines
859 B
Plaintext
Raw Permalink Normal View History

2023-01-27 14:24:35 +00:00
summary: Basic smoke test
prepare:
2023-02-09 13:18:05 +00:00
- how: install
package:
- jakarta-activation2
- java-11-openjdk-devel
- jaxb-core
- jaxb-istack-commons-runtime
- jaxb-runtime
- xmvn-tools
2023-01-27 14:24:35 +00:00
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