mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Cleanup of tests for easier future sync to downstream repos
* tests.yml => tests-llvm.yml, to allow composition by "dumping" tests from several LLVM components when testing a module or collection; * more comments, to highlight part where downstream maintaners and QEs need to modify tests; * fixed failing tests to get a clean table as a verification tests do work after my changes.
This commit is contained in:
parent
4c4fb40d31
commit
b21766edbc
1 changed files with 26 additions and 7 deletions
|
@ -4,10 +4,22 @@
|
||||||
tags:
|
tags:
|
||||||
- classic
|
- classic
|
||||||
required_packages:
|
required_packages:
|
||||||
|
# Required for rust and possibly other dependant packages
|
||||||
|
#
|
||||||
|
# NOTE #1: drop the requirement once the transitional period between releases is gone
|
||||||
|
# and llvm-compat is no longer a) needed, and b) part of the build.
|
||||||
|
#
|
||||||
|
# NOTE #2: keep it the first requirement. Depending on the order of requirements, placing it somewhere
|
||||||
|
# else in the list may lead to harness uninstalling and re-installing LLVM packages. That a) would be
|
||||||
|
# a waste of time, b) could potentially hide issues, leading to testing unexpected NVRs.
|
||||||
|
#
|
||||||
|
# - llvm-compat
|
||||||
|
|
||||||
- rust
|
- rust
|
||||||
- cargo
|
- cargo
|
||||||
- binutils
|
|
||||||
# the requirements below are for the integration suite
|
# the requirements below are for the integration suite
|
||||||
|
- binutils
|
||||||
- cmake
|
- cmake
|
||||||
- llvm-devel
|
- llvm-devel
|
||||||
- clang
|
- clang
|
||||||
|
@ -15,15 +27,21 @@
|
||||||
- clang-tools-extra
|
- clang-tools-extra
|
||||||
- compiler-rt
|
- compiler-rt
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- libcxx-devel
|
|
||||||
- libomp-devel
|
- libomp-devel
|
||||||
- python-lit
|
|
||||||
- lld
|
- lld
|
||||||
- lldb
|
- lldb
|
||||||
- git
|
- git
|
||||||
- make
|
- make
|
||||||
- libstdc++-static
|
- libstdc++-static
|
||||||
- clang-devel
|
- clang-devel
|
||||||
|
|
||||||
|
# In Fedora, python-lit is valid. In RHEL, however, the actual package is python3-lit.
|
||||||
|
- python-lit
|
||||||
|
# - python3-lit
|
||||||
|
|
||||||
|
# Required in Fedora, but not shipped with RHEL. For future reference, comment the libcxx out as needed.
|
||||||
|
- libcxx-devel
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
- rust-sanity:
|
- rust-sanity:
|
||||||
dir: ./
|
dir: ./
|
||||||
|
@ -36,7 +54,7 @@
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
||||||
- libllvm-size:
|
- libllvm-size:
|
||||||
dir: ./
|
dir: ./
|
||||||
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
|
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 104857600
|
||||||
# This test ensures that the spec file still builds correctly with
|
# This test ensures that the spec file still builds correctly with
|
||||||
# %global compat_build 1
|
# %global compat_build 1
|
||||||
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
|
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
|
||||||
|
@ -47,8 +65,9 @@
|
||||||
- llvm-config:
|
- llvm-config:
|
||||||
dir: ./
|
dir: ./
|
||||||
run: llvm-config --version
|
run: llvm-config --version
|
||||||
# make sure versionned llvm-config symlink is properly setup
|
# make sure versioned llvm-config symlink is properly setup
|
||||||
- versionned-llvm-config:
|
- versioned-llvm-config:
|
||||||
dir: ./
|
dir: ./
|
||||||
run: llvm-config-12 --version
|
run: llvm-config-13 --version
|
||||||
|
# NOTE: don't forget to disable libcxx tests when libcxx is not available, by adding -DENABLE_LIBCXX=OFF.
|
||||||
- integration-test-suite
|
- integration-test-suite
|
Loading…
Reference in a new issue