integration-test-suite: Update required packages in Fedora
New tests were added upstream: unwind.cpp, hello.mlir and minimal_mlir_cmake.txt -- these require extra packages to run properly. Some extra adjustments were done to handle the unavailability of libcxx and libunwind in RHEL and CentOS
This commit is contained in:
parent
58f4b1d07e
commit
f4a44658f7
2 changed files with 9 additions and 4 deletions
|
|
@ -85,15 +85,20 @@ adjust:
|
|||
when: arch == s390x
|
||||
|
||||
# libcxx shall be required in Fedora, it's not shipped with RHEL.
|
||||
# Same applies for mlir and libunwind.
|
||||
- require+:
|
||||
- libcxx-devel
|
||||
- libcxx-static
|
||||
- mlir-devel
|
||||
- llvm-libunwind-devel
|
||||
when: "distro == fedora"
|
||||
because: testing against libcxx package in Fedora
|
||||
because: Require extra packages supported in Fedora
|
||||
|
||||
- environment+:
|
||||
CMAKE_CXXLIB: "-DENABLE_LIBCXX=OFF"
|
||||
CMAKE_CXXLIB: "-DENABLE_LIBCXX=OFF -DENABLE_STATIC_LIBCXX=OFF"
|
||||
CMAKE_LIBUNWIND: "-DENABLE_LIBUNWIND=OFF"
|
||||
when: >-
|
||||
distro == centos
|
||||
or distro == rhel
|
||||
because: libcxx is not shipped with neither Centos nor RHEL
|
||||
because: libcxx and libunwind is not shipped with neither Centos nor RHEL
|
||||
extra-nitrate: TC#0614094
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ cd $(mktemp -d -p /var/tmp)
|
|||
git clone $repo_url
|
||||
cd llvm-toolchain-integration-test-suite
|
||||
mkdir _build && cd _build
|
||||
cmake .. ${CMAKE_CXXLIB:-}
|
||||
cmake .. ${CMAKE_CXXLIB:-} ${CMAKE_LIBUNWIND:-}
|
||||
# Do not run with make as it will return 2 in case of failures, which will be
|
||||
# reported by tmt as error instead failure. Run with lit so it returns 1.
|
||||
lit --show-unsupported --show-xfail -v tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue