Migrate tests to tests/python-lit repo
This commit is contained in:
		
							parent
							
								
									5c34f92564
								
							
						
					
					
						commit
						c115c4653f
					
				
							
								
								
									
										6
									
								
								tests/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/README.md
									
									
									
									
									
										Normal 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 | ||||||
| @ -59,10 +59,12 @@ adjust: | |||||||
| discover: | discover: | ||||||
|     - name: python-lit-tests |     - name: python-lit-tests | ||||||
|       how: fmf |       how: fmf | ||||||
|  |       url: https://src.fedoraproject.org/tests/python-lit.git | ||||||
|  |       ref: main | ||||||
|     - name: upstream-llvm-integration-testsuite |     - name: upstream-llvm-integration-testsuite | ||||||
|       how: fmf |       how: fmf | ||||||
|       url: https://src.fedoraproject.org/rpms/llvm.git |       url: https://src.fedoraproject.org/tests/llvm.git | ||||||
|       ref: rawhide |       ref: main | ||||||
|       test: integration-test-suite |       test: integration-test-suite | ||||||
| execute: | execute: | ||||||
|     how: tmt |     how: tmt | ||||||
|  | |||||||
| @ -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" |  | ||||||
| @ -1,3 +0,0 @@ | |||||||
| #! /bin/sh -eux |  | ||||||
| 
 |  | ||||||
| lit --version |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user