From 604b55464eadce6d3720936eb78e41ef3acb211e Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Fri, 15 Jul 2022 14:49:45 +0200 Subject: [PATCH] Add nitrate metadata --- binutils-plugin-ar/main.fmf | 9 +++++++++ build-compat/main.fmf | 7 +++++++ integration-test-suite/main.fmf | 16 ++++++++++++++++ libllvm-size/main.fmf | 9 +++++++++ llvm-config/main.fmf | 8 ++++++++ llvm-devel-cmake/main.fmf | 10 +++++++++- rust-sanity/main.fmf | 9 +++++++++ versioned-llvm-config/main.fmf | 8 ++++++++ 8 files changed, 75 insertions(+), 1 deletion(-) diff --git a/binutils-plugin-ar/main.fmf b/binutils-plugin-ar/main.fmf index f2363ab..a5950c5 100644 --- a/binutils-plugin-ar/main.fmf +++ b/binutils-plugin-ar/main.fmf @@ -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 diff --git a/build-compat/main.fmf b/build-compat/main.fmf index 7e0a3d3..d6d07b1 100644 --- a/build-compat/main.fmf +++ b/build-compat/main.fmf @@ -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 diff --git a/integration-test-suite/main.fmf b/integration-test-suite/main.fmf index 60504b4..e766aa9 100644 --- a/integration-test-suite/main.fmf +++ b/integration-test-suite/main.fmf @@ -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 diff --git a/libllvm-size/main.fmf b/libllvm-size/main.fmf index e508bfc..c4176f2 100644 --- a/libllvm-size/main.fmf +++ b/libllvm-size/main.fmf @@ -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 diff --git a/llvm-config/main.fmf b/llvm-config/main.fmf index 6f8863c..2007e46 100644 --- a/llvm-config/main.fmf +++ b/llvm-config/main.fmf @@ -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 diff --git a/llvm-devel-cmake/main.fmf b/llvm-devel-cmake/main.fmf index ec2d017..a545f98 100644 --- a/llvm-devel-cmake/main.fmf +++ b/llvm-devel-cmake/main.fmf @@ -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 diff --git a/rust-sanity/main.fmf b/rust-sanity/main.fmf index 4e050d7..49e02ca 100644 --- a/rust-sanity/main.fmf +++ b/rust-sanity/main.fmf @@ -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 diff --git a/versioned-llvm-config/main.fmf b/versioned-llvm-config/main.fmf index 1957100..570f9c7 100644 --- a/versioned-llvm-config/main.fmf +++ b/versioned-llvm-config/main.fmf @@ -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