23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
|
summary: Basic smoke test
|
||
|
prepare:
|
||
|
how: install
|
||
|
package:
|
||
|
- java-11-openjdk-devel
|
||
|
- xmvn-tools
|
||
|
- mvn(org.apache.ant:ant)
|
||
|
- mvn(jakarta.activation:jakarta.activation-api)
|
||
|
discover:
|
||
|
how: shell
|
||
|
tests:
|
||
|
- name: /smoke/classpath-import
|
||
|
test: |
|
||
|
CLASSPATH+=":$(xmvn-resolve org.apache.ant:ant)"
|
||
|
CLASSPATH+=":$(xmvn-resolve jakarta.activation:jakarta.activation-api)"
|
||
|
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
|