tests: convert to TMT

This commit is contained in:
Milos Prchlik 2021-11-16 14:51:04 +01:00
parent 7bc135db0a
commit 2a0b42becb
4 changed files with 26 additions and 11 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

21
tests/build-gating.fmf Normal file
View File

@ -0,0 +1,21 @@
summary: compiler-rt tests for build/PR gating
adjust:
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
when: >-
trigger is defined
and trigger != commit
and trigger != build
enabled: false
discover:
- name: python-lit-tests
how: fmf
filter: "tag:-spoils-installation"
execute:
how: tmt
prepare:
- name: packages
how: install
package: python3-lit
provision:
hardware:
memory: ">= 4 GiB"

4
tests/sanity/main.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Trivial sanity test
test: lit --version
require:
- python3-lit

View File

@ -1,11 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- python3-lit
tests:
- lit:
dir: ./
run: lit --version