#4 Add nitrate metadata
Merged 2 years ago by jcheca. Opened 2 years ago by jcheca.
tests/ jcheca/llvm add-nitrate-metadata  into  main

@@ -2,6 +2,14 @@ 

  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 @@ 

        - llvm-toolset-14.0-llvm

        - llvm-toolset-14.0-clang

      when: collection == llvm-toolset-14.0

+ extra-nitrate: TC#0614092

file modified
+7
@@ -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

@@ -2,6 +2,21 @@ 

  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 @@ 

        distro == centos

        or distro == rhel

      because: libcxx is not shipped with neither Centos nor RHEL

+ extra-nitrate: TC#0614094

file modified
+9
@@ -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 @@ 

      environment+:

        LIBLLVM_PATH: /opt/rh/llvm-toolset-14.0/root/usr/lib64/libLLVM.so

      when: "collection == llvm-toolset-14.0"

+ extra-nitrate: TC#0614095

file modified
+8
@@ -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 @@ 

    - require+:

        - llvm-toolset-14.0-llvm-devel

      when: collection == llvm-toolset-14.0

+ extra-nitrate: TC#0614096

file modified
+9 -1
@@ -8,6 +8,13 @@ 

  # 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 @@ 

      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

file modified
+9
@@ -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 @@ 

        - rust-toolset-1.62-cargo

        - rust-toolset-1.62-rust

      when: "collection == llvm-toolset-14.0"

+ extra-nitrate: TC#0614098

@@ -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 @@ 

    - require+:

        - llvm-toolset-14.0-llvm-devel

      when: collection == llvm-toolset-14.0

+ extra-nitrate: TC#0614099