Add nitrate metadata

This commit is contained in:
Jesus Checa Hidalgo 2022-07-15 14:49:45 +02:00
commit 604b55464e
8 changed files with 75 additions and 1 deletions

View file

@ -2,6 +2,14 @@ summary: Make sure the the LLVM plugin for binutils' ar works
test: "$WITH_SCL ./test.sh"
require:
- binutils
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/binutils-plugin-ar
extra-task: /tools/llvm/binutils-plugin-ar
adjust:
# Common requirements when LLVM is not SCL-ized
- require+:
@ -18,3 +26,4 @@ adjust:
- llvm-toolset-14.0-llvm
- llvm-toolset-14.0-clang
when: collection == llvm-toolset-14.0
extra-nitrate: TC#0614092

View file

@ -1,3 +1,10 @@
summary: Make sure rebuilding LLVM still works with the new LLVM
test: "$WITH_SCL ./test.sh"
enabled: false
framework: shell
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/build-compat
extra-task: /tools/llvm/build-compat
extra-nitrate: TC#0614093

View file

@ -2,6 +2,21 @@ summary: Run the upstream LLVM integration test suite
description: |
Run the upstream LLVM integration test suite
test: "$WITH_SCL ./test.sh"
framework: shell
tier: 1
# We want to run this test for all the llvm-toolset components
component:
- llvm-toolset
- llvm
- clang
- lld
- lldb
- compiler-rt
- python3-lit
- libomp
extra-summary: /tools/llvm/integration-test-suite
extra-task: /tools/llvm/integration-test-suite
require:
- git
- make
@ -79,3 +94,4 @@ adjust:
distro == centos
or distro == rhel
because: libcxx is not shipped with neither Centos nor RHEL
extra-nitrate: TC#0614094

View file

@ -1,5 +1,13 @@
summary: Check that libLLVM.so has been properly stripped
test: "$WITH_SCL ./test.sh"
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/libllvm-size
extra-task: /tools/llvm/libllvm-size
environment:
LIBLLVM_PATH: /usr/lib64/libLLVM.so
adjust:
@ -19,3 +27,4 @@ adjust:
environment+:
LIBLLVM_PATH: /opt/rh/llvm-toolset-14.0/root/usr/lib64/libLLVM.so
when: "collection == llvm-toolset-14.0"
extra-nitrate: TC#0614095

View file

@ -1,5 +1,12 @@
summary: Make sure llvm-config symlink is properly set up
test: "$WITH_SCL ./test.sh"
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/llvm-config
extra-task: /tools/llvm/llvm-config
adjust:
- require+:
@ -13,3 +20,4 @@ adjust:
- require+:
- llvm-toolset-14.0-llvm-devel
when: collection == llvm-toolset-14.0
extra-nitrate: TC#0614096

View file

@ -8,6 +8,13 @@ environment:
# This test breaks the installation that might have been done in by the plan
tag:
- spoils-installation
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/llvm-devel-cmake
extra-task: /tools/llvm/llvm-devel-cmake
adjust:
- require+:
@ -27,9 +34,10 @@ adjust:
when: collection == llvm-toolset-14.0
- because: "RHEL 7 and older don't have dnf, fallback to yum"
require:
require+:
- yum-utils
environment+:
PKG_MGR: "yum"
PKG_QUERY: "repoquery"
when: distro < rhel-8
extra-nitrate: TC#0614097

View file

@ -1,6 +1,14 @@
summary: Test basic cargo usage
test: "$WITH_SCL ./test.sh"
require: []
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/rust-sanity
extra-task: /tools/llvm/rust-sanity
adjust:
# Common requirements when LLVM is not SCL-ized
- require+:
@ -28,3 +36,4 @@ adjust:
- rust-toolset-1.62-cargo
- rust-toolset-1.62-rust
when: "collection == llvm-toolset-14.0"
extra-nitrate: TC#0614098

View file

@ -1,5 +1,12 @@
summary: Make sure the versioned llvm-config symlink is properly set up
test: "$WITH_SCL ./test.sh"
framework: shell
tier: 1
component:
- llvm-toolset
- llvm
extra-summary: /tools/llvm/versioned-llvm-config
extra-task: /tools/llvm/versioned-llvm-config
adjust:
- require+:
@ -13,3 +20,4 @@ adjust:
- require+:
- llvm-toolset-14.0-llvm-devel
when: collection == llvm-toolset-14.0
extra-nitrate: TC#0614099