Rewrite CI tests

This commit is contained in:
Peng Wu 2024-05-15 15:36:56 +08:00
parent 33b6dea238
commit 25fbb59325
4 changed files with 17 additions and 20 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
plans/basic.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Basic smoke test
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

10
tests/main.fmf Normal file
View File

@ -0,0 +1,10 @@
test: bash ./make_check.sh ../libhangul-*
duration: 50m
framework: shell
require:
- make
- gcc
- autoconf
- automake
- libtool
- gettext-devel

View File

@ -1,20 +0,0 @@
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
roles:
- role: standard-test-source # to get the source tar ball to do “make check”
- role: standard-test-basic
required_packages:
- make
- gcc
- autoconf
- automake
- libtool
- gettext-devel
tests:
- make-check:
dir: ./
run: bash ./make_check.sh ./source