Add tmt testcase for CI

This commit is contained in:
Parag Nemade 2024-08-29 12:58:07 +05:30
parent 9f743449fd
commit bc3f83caf6
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
6 changed files with 14 additions and 13 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
plans/zaf.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

8
tests/main.fmf Normal file
View File

@ -0,0 +1,8 @@
require:
- hyphen-af
- hyphen-zu
- hyphen-devel
- gcc
test: bash ./run_tests.sh
framework: shell

0
tests/scripts/run_tests.sh → tests/run_tests.sh Normal file → Executable file
View File

View File

@ -1,13 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
required_packages:
- hyphen-devel
- gcc
tags:
- classic
tests:
- sample:
dir: scripts/
run: ./run_tests.sh