Migrate tests to tests/python-lit repo

This commit is contained in:
Jesus Checa Hidalgo 2022-09-12 16:19:03 +02:00
parent 5c34f92564
commit c115c4653f
4 changed files with 10 additions and 21 deletions

6
tests/README.md Normal file
View File

@ -0,0 +1,6 @@
# Gating testplans for python-lit
The tests for python-lit are in a separate repo: https://src.fedoraproject.org/tests/python-lit
This directory should contain only fmf plans (such as build-gating.fmf) which import
the tests from the tests repo. This can be done using the "url" parameter of the
plan's "discover" step. Reference: https://tmt.readthedocs.io/en/stable/spec/plans.html#fmf

View File

@ -59,10 +59,12 @@ adjust:
discover:
- name: python-lit-tests
how: fmf
url: https://src.fedoraproject.org/tests/python-lit.git
ref: main
- name: upstream-llvm-integration-testsuite
how: fmf
url: https://src.fedoraproject.org/rpms/llvm.git
ref: rawhide
url: https://src.fedoraproject.org/tests/llvm.git
ref: main
test: integration-test-suite
execute:
how: tmt

View File

@ -1,16 +0,0 @@
summary: Trivial sanity test
test: "$WITH_SCL ./test.sh"
require: []
adjust:
# Common requirements when LLVM is not SCL-ized
- require+:
- python3-lit
when: "collection is not defined"
# Requirements for SCL-ized LLVM
- require+:
- llvm-toolset-13.0-python3-lit
when: "collection == llvm-toolset-13.0"
- require+:
- llvm-toolset-14.0-python3-lit
when: "collection == llvm-toolset-14.0"

View File

@ -1,3 +0,0 @@
#! /bin/sh -eux
lit --version