jaxb-istack-commons/plans/smoke.fmf
2023-02-02 11:31:12 +01:00

23 lines
699 B
Plaintext

summary: Basic smoke test
prepare:
how: install
package:
- ant
- jakarta-activation2
- java-11-openjdk-devel
- xmvn-tools
discover:
how: shell
tests:
- name: /smoke/classpath-import
test: |
CLASSPATH+=":$(xmvn-resolve org.apache.ant:ant)"
CLASSPATH+=":$(xmvn-resolve jakarta.activation:jakarta.activation-api:2)"
CLASSPATH+=":$(xmvn-resolve com.sun.istack:istack-commons-runtime)"
CLASSPATH+=":$(xmvn-resolve com.sun.istack:istack-commons-tools)"
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