Add ant smoke tests without antunit-tests

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-10-15 13:24:16 +02:00
parent f786a197b2
commit 40416db4cd
2 changed files with 5 additions and 16 deletions

View File

@ -1,15 +1,9 @@
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}"'
how: fmf
# FIXME
# url: https://src.fedoraproject.org/tests/ant
url: https://src.fedoraproject.org/forks/mkoncek/tests/ant
execute:
how: tmt

View File

@ -1,5 +0,0 @@
<project>
<target name="hello">
<echo message="Hello, world"/>
</target>
</project>