ant/plans/smoke.fmf
Marián Konček f786a197b2 Add OpenJDK bindings
Resolves: RHEL-62405
2024-10-18 12:33:08 +02:00

59 lines
1.2 KiB
Plaintext

summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/show-version
test: ant -version
- name: /smoke/show-diagnostics
test: ant -diagnostics
- name: /smoke/hello-world
test: ant -v -f plans/smoke.xml hello
- name: /smoke/openjdk-version
test: 'ant -diagnostics | grep "java.runtime.version : ${OPENJDK_VERSION}"'
execute:
how: tmt
/jdk8:
summary: Basic smoke tests (OpenJDK 8)
environment:
OPENJDK_VERSION: "1.8.0"
prepare:
- how: install
exclude:
- ant-openjdk11
- ant-openjdk17
- ant-openjdk21
/jdk11:
summary: Basic smoke tests (OpenJDK 11)
environment:
OPENJDK_VERSION: "11"
prepare:
- how: install
exclude:
- ant-openjdk8
- ant-openjdk17
- ant-openjdk21
/jdk17:
summary: Basic smoke tests (OpenJDK 17)
environment:
OPENJDK_VERSION: "17"
prepare:
- how: install
exclude:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk21
/jdk21:
summary: Basic smoke tests (OpenJDK 21)
environment:
OPENJDK_VERSION: "21"
prepare:
- how: install
exclude:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk17