tests: convert to TMT
This commit is contained in:
parent
7bc135db0a
commit
2a0b42becb
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
21
tests/build-gating.fmf
Normal file
21
tests/build-gating.fmf
Normal 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
4
tests/sanity/main.fmf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
summary: Trivial sanity test
|
||||||
|
test: lit --version
|
||||||
|
require:
|
||||||
|
- python3-lit
|
@ -1,11 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
required_packages:
|
|
||||||
- python3-lit
|
|
||||||
tests:
|
|
||||||
- lit:
|
|
||||||
dir: ./
|
|
||||||
run: lit --version
|
|
Loading…
Reference in New Issue
Block a user