Gather common tmt metadata
Moved tests under tests directory Extracted common metadata into tests/main.fmf.
This commit is contained in:
parent
3403ca384d
commit
6c3812f472
14 changed files with 71 additions and 88 deletions
|
|
@ -1,32 +0,0 @@
|
|||
summary: Test that Float16 ABI matches with clang
|
||||
test: "$WITH_SCL ./test.sh"
|
||||
framework: shell
|
||||
tier: 1
|
||||
component:
|
||||
- llvm-toolset
|
||||
- compiler-rt
|
||||
|
||||
adjust:
|
||||
- because: "Float16 not supported on s390x or ppc64le"
|
||||
enabled: false
|
||||
when: arch == s390x or arch == ppc64le
|
||||
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- clang
|
||||
- compiler-rt
|
||||
when: collection is not defined
|
||||
|
||||
# Requirements for SCL-ized LLVM
|
||||
- require+:
|
||||
- llvm-toolset-13.0-clang
|
||||
- llvm-toolset-13.0-compiler-rt
|
||||
when: collection == llvm-toolset-13.0
|
||||
- require+:
|
||||
- llvm-toolset-14.0-clang
|
||||
- llvm-toolset-14.0-compiler-rt
|
||||
when: collection == llvm-toolset-14.0
|
||||
- require+:
|
||||
- llvm-toolset-15.0-clang
|
||||
- llvm-toolset-15.0-compiler-rt
|
||||
when: collection == llvm-toolset-15.0
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
summary: compiler-rt sanity test with signed int overflow
|
||||
test: "$WITH_SCL ./test.sh"
|
||||
require: []
|
||||
framework: shell
|
||||
tier: 1
|
||||
component:
|
||||
- llvm-toolset
|
||||
- compiler-rt
|
||||
extra-summary: /tools/compiler-rt/sanity
|
||||
extra-task: /tools/compiler-rt/sanity
|
||||
extra-nitrate: TC#0614247
|
||||
|
||||
adjust:
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- clang
|
||||
- compiler-rt
|
||||
when: collection is not defined
|
||||
|
||||
# Requirements for SCL-ized LLVM
|
||||
- require+:
|
||||
- llvm-toolset-13.0-clang
|
||||
- llvm-toolset-13.0-compiler-rt
|
||||
when: collection == llvm-toolset-13.0
|
||||
- require+:
|
||||
- llvm-toolset-14.0-clang
|
||||
- llvm-toolset-14.0-compiler-rt
|
||||
when: collection == llvm-toolset-14.0
|
||||
- require+:
|
||||
- llvm-toolset-15.0-clang
|
||||
- llvm-toolset-15.0-compiler-rt
|
||||
when: collection == llvm-toolset-15.0
|
||||
|
|
@ -1,17 +1,10 @@
|
|||
summary: Test that compiler-rt does not contain broken symlinks
|
||||
test: ./test.sh
|
||||
framework: shell
|
||||
tier: 1
|
||||
component:
|
||||
- llvm-toolset
|
||||
- compiler-rt
|
||||
require:
|
||||
- compiler-rt
|
||||
|
||||
link:
|
||||
verifies: https://issues.redhat.com/browse/RHEL-7375
|
||||
link+:
|
||||
- verifies: https://issues.redhat.com/browse/RHEL-7375
|
||||
|
||||
adjust:
|
||||
adjust+:
|
||||
# Broken symlinks were fixed with Clang Resource directory moving in LLVM 17:
|
||||
# https://fedoraproject.org/wiki/Changes/LLVM-17#Detailed_Description
|
||||
# There are no plans to backport that, so we disable the test
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
summary: compiler-rt test for rhbz#1678240
|
||||
test: "$WITH_SCL ./test.sh"
|
||||
require: []
|
||||
framework: shell
|
||||
description: >
|
||||
Test that clang -m32 -fsanitize looks for compiler-rt library in the
|
||||
proper directory
|
||||
tier: 1
|
||||
component:
|
||||
- llvm-toolset
|
||||
- compiler-rt
|
||||
|
||||
adjust:
|
||||
require+:
|
||||
- compiler-rt.i686
|
||||
- glibc-devel.i686
|
||||
adjust+:
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- enabled: false
|
||||
because: "Test applicable only on x86_64 arch"
|
||||
|
|
@ -16,10 +16,3 @@ adjust:
|
|||
- enabled: false
|
||||
because: "compiler-rt.i686 packages not shipped in RHEL/CentOS"
|
||||
when: distro == rhel or distro == centos
|
||||
|
||||
- require+:
|
||||
- clang
|
||||
- compiler-rt.x86_64
|
||||
- compiler-rt.i686
|
||||
- glibc-devel.i686
|
||||
when: collection is not defined
|
||||
7
tests/fp16-abi/main.fmf
Normal file
7
tests/fp16-abi/main.fmf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
summary: Test that Float16 ABI matches with clang
|
||||
tier: 1
|
||||
|
||||
adjust+:
|
||||
- because: "Float16 not supported on s390x or ppc64le"
|
||||
enabled: false
|
||||
when: arch == s390x or arch == ppc64le
|
||||
49
tests/main.fmf
Normal file
49
tests/main.fmf
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Common configuration for all the tests in this repo
|
||||
# All the tmt tests under this directory inherit the settings from this file
|
||||
component:
|
||||
- llvm-toolset
|
||||
- compiler-rt
|
||||
|
||||
# Default QA contact. If more are relevant use 'contact+:' in each test metadata.
|
||||
contact:
|
||||
- Jesus Checa Hidalgo <jcheca@redhat.com>
|
||||
|
||||
# All tests are shell by default. If a specific test uses another framework
|
||||
# such as beakerlib, define "framework: beakerlib" in the test's main.fmf
|
||||
framework: shell
|
||||
|
||||
# Always define "test" key and override in adjust or in each specific test
|
||||
# metadata if needed.
|
||||
test: ./test.sh
|
||||
|
||||
# Commonly used keys are initialized to empty.
|
||||
require: []
|
||||
link: []
|
||||
tag: []
|
||||
|
||||
adjust+:
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- clang
|
||||
- compiler-rt
|
||||
when: collection is not defined
|
||||
|
||||
# Requirements for SCL-ized LLVM
|
||||
# We need to override the test key to do the proper scl call
|
||||
- test: scl enable llvm-toolset-13.0 -- ./test.sh
|
||||
require+:
|
||||
- llvm-toolset-13.0-clang
|
||||
- llvm-toolset-13.0-compiler-rt
|
||||
when: collection == llvm-toolset-13.0
|
||||
|
||||
- test: scl enable llvm-toolset-14.0 -- ./test.sh
|
||||
require+:
|
||||
- llvm-toolset-14.0-clang
|
||||
- llvm-toolset-14.0-compiler-rt
|
||||
when: collection == llvm-toolset-14.0
|
||||
|
||||
- test: scl enable llvm-toolset-15.0 -- ./test.sh
|
||||
require+:
|
||||
- llvm-toolset-15.0-clang
|
||||
- llvm-toolset-15.0-compiler-rt
|
||||
when: collection == llvm-toolset-15.0
|
||||
5
tests/sanity/main.fmf
Normal file
5
tests/sanity/main.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: compiler-rt sanity test with signed int overflow
|
||||
tier: 1
|
||||
extra-summary: /tools/compiler-rt/sanity
|
||||
extra-task: /tools/compiler-rt/sanity
|
||||
extra-nitrate: TC#0614247
|
||||
Loading…
Add table
Add a link
Reference in a new issue