2023-01-30 10:59:08 +00:00
|
|
|
summary: Basic smoke test
|
|
|
|
prepare:
|
|
|
|
how: install
|
|
|
|
package:
|
|
|
|
- ant
|
2023-02-02 10:31:12 +00:00
|
|
|
- jakarta-activation2
|
2023-01-30 10:59:08 +00:00
|
|
|
- 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
|