#26 Migrate tests to tests/python-lit repo
Merged 2 years ago by nikic. Opened 2 years ago by jcheca.
rpms/ jcheca/python-lit migrate-tests  into  rawhide

file added
+6
@@ -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 

\ No newline at end of file

file modified
+4 -2
@@ -59,10 +59,12 @@ 

  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

file removed
-16
@@ -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"

file removed
-3
@@ -1,3 +0,0 @@ 

- #! /bin/sh -eux

- 

- lit --version

no initial comment

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Build succeeded.

Pull-Request has been merged by nikic

2 years ago