Commit Graph

65 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
26e1e72603 Remove pocl-related tests
pocl has been FTBFS since Fedora 38. There is a plan to orphan it.
2023-04-04 17:13:57 -03:00
Jesus Checa Hidalgo
5af8b98903 build-gating.fmf: add brp-llvm-compile-lto-elf test from redhat-rpm-config to gating test plan 2022-11-28 11:25:35 +00:00
Jesus Checa Hidalgo
f15eec4d81 Migrate tests to tests/clang repo 2022-09-19 08:11:18 +00:00
Nikita Popov
2b8dcb4dbf Revert powerpc -mabi=ieeelongdouble default
Revert the abi default again until
https://bugzilla.redhat.com/show_bug.cgi?id=2115752 is fixed.

This reverts commit 2efd3e3d10.
2022-08-10 10:34:59 +02:00
Tom Stellard
2efd3e3d10 Revert "Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed"
This reverts commit e26357988c.
2022-08-04 16:07:03 +00:00
Jesus Checa Hidalgo
718bd7a127 tests: fedora-flags
* Fixed broken dependency on annobin. Requiring just redhat-rpm-config
should pull the correct annobin rpm
* Added SCL specific requirements for LLVM 13 and 14
2022-07-21 06:48:03 +00:00
Miro Hrončok
e26357988c Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed
This reverts commit 27327ff4a8.

This disables the ppc64le-long-double test.
2022-06-30 16:43:44 +02:00
Jesus Checa Hidalgo
4de77856dd Tests: make openmp-rpm test compatible with RHEL distros and collections 2022-06-01 11:59:02 +02:00
Tom Stellard
475a496cb9 Update openmp-rpm test to pass LDFLAGS
This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS
to LDFLAGS.
2022-05-31 11:36:53 -07:00
Jesus Checa Hidalgo
22c49c99fc tests: ppc64le-long-double
Split the test in two. For Fedora CI we run on x86_64 emulating
ppc64le using qemu+mock. For RHEL/CentOS run natively.
2022-05-27 09:24:34 +02:00
Tom Stellard
27327ff4a8 Use the ieee128 format for long double on ppc64le
gcc switched to ieee128 as the default in Fedora >=36, so clang needs to do
this to maintain ABI compatibility.
2022-05-25 08:48:45 +00:00
Tom Stellard
a0406226b5 Add missing dependency to the fedora-flags test
Other packages that use this test won't have clang pre-installed, so we
need to explicitly add the dependency.
2022-05-25 02:01:05 +00:00
Jesus Checa Hidalgo
5f6483f6cd tests: Update extra repos in different distros.
* epel removed from RHEL-7
* CRB split in RHEL 8/9 vs CentOS due to different naming
2022-05-23 21:00:05 +00:00
Jesus Checa Hidalgo
4cce509493 tests: llvm-test-suite: Add missing ninja-build requirement 2022-05-19 15:20:31 +00:00
Tom Stellard
906570b432 Add test for building an rpm with -fopenmp 2022-05-19 03:03:36 +00:00
Jesus Checa Hidalgo
4ae8585417 tests: fix lld unavailability in ppc64 for toolchains tests 2022-05-04 14:16:56 +00:00
Jesus Checa Hidalgo
a52939e013 tests: check that clang uses dwarfv4 by default 2022-05-03 14:22:33 +02:00
Jesus Checa Hidalgo
7e17ee7279 tests: add llvm-toolset-14.0 requirements to tests and plans 2022-04-22 10:59:57 +00:00
Jesus Checa Hidalgo
69ffbbfd14 tests: remove llvm-toolchain test as it has been superseeded by tests/toolchains 2022-02-21 13:57:19 +01:00
Jesus Checa Hidalgo
806afe0a28 tests: fix tests/rhbz-1647130 missing clang-analyzer requirement 2022-02-21 11:05:23 +01:00
Jesus Checa Hidalgo
f5cc68e457 tests: toolchains: skip testing with compiler-rt in s390x 2022-02-15 18:13:09 +01:00
Jesus Checa Hidalgo
75406a880d tests: fix fmf error in tests/fedora-flags 2022-02-15 17:11:34 +00:00
Jesus Checa Hidalgo
442544ac1b tests: disable libomp plan and test in s390x 2022-02-15 17:33:53 +01:00
Jesus Checa Hidalgo
12f649bbd7 tests: Add all missing requirements for tests/toolchains 2022-02-15 17:31:12 +01:00
Jesus Checa Hidalgo
8d94b3d903 tests: test fixes for SCL-ized llvm-toolset-13 in RHEL-7 2022-02-15 17:29:50 +01:00
Miloš Prchlík
208be5f577 tests: on RHEL-7, throw in epel-rpm-macros to get %{build_cflags}
Unfortunately, this disqualifies the test from s390x, because there is no Epel for s390x. The test would just fail.
2022-02-15 16:21:04 +00:00
Jesus Checa Hidalgo
56439f6521 tests: fix llvm-toolchain and toolchains test requirements for centos and rhel 2022-02-15 16:14:02 +00:00
Jesus Checa Hidalgo
70e5471c2f tests: Disable unsupported tests in CentOS 2022-02-14 15:31:20 +01:00
Jesus Checa Hidalgo
d280ec1256 tests: enable CRB/EPEL in CentOS/RHEL 2022-02-11 12:08:03 +01:00
Miloš Prchlík
0534535cdb tests: toolchains test requires glibc-static 2022-02-08 10:22:14 +00:00
Miloš Prchlík
23fb27dabb tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0) 2022-01-05 14:17:16 +01:00
Miloš Prchlík
68259514b8 tests: skip PoCL plan/test on RHEL
PoCL is not shipped on RHEL.
2022-01-04 14:41:25 +00:00
Miloš Prchlík
e9354929da tests: llvm-test-suite test on RHEL
llvm-test-suite package is not shipped on RHEL.
2021-12-07 16:32:20 +01:00
Milos Prchlik
f1fb141ebf tests: rename fmf files to match the llvm naming scheme for plans 2021-12-01 16:35:03 +01:00
Milos Prchlik
5f6796def1 tests: parametrize "libc++" in tests
Downstream has no `libc++`, but it can run clang tests with `libstdc++`.
Parametrize the tests, leaving the actual library to use on their
respective `main.fmf` files that are easier to overturn in downstream
repos.
2021-11-23 17:16:17 +01:00
Milos Prchlik
e9b18560f7 Remove single quotes from plan name, tmt cannot handle it 2021-10-21 13:54:44 +00:00
Milos Prchlik
1fec42430c Bump duration of llvm-test-suite, starting with 1h 2021-10-21 13:54:44 +00:00
Milos Prchlik
148aac0b7d Fixes tests/llvm-test-suite requirements and permissions 2021-10-21 13:54:44 +00:00
Milos Prchlik
f7ecf95dc7 tests: switch to TMT 2021-10-21 13:54:44 +00:00
sergesanspaille
2afe5dbfcc Add generic integration test suite gating 2021-06-24 09:10:49 +02:00
Tom Stellard
4125daf6f5 Revert "Run fedora-flags test on all architectures"
This reverts commit bd66e3d65a.

This test is wrong, because it tests the current version of clang
from rawhide and not from the build being tested.
2021-05-19 01:25:57 +00:00
Tom Stellard
bd66e3d65a Run fedora-flags test on all architectures 2021-05-06 21:19:01 +00:00
Tom Stellard
e8cbe820c4 Add symlink to clang-format-diff in /usr/bin
rhbz#1939018
2021-04-16 05:03:55 +00:00
Tom Stellard
13c66032d5 Import tests from tests/clang repository
It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.

Also update, the other tests to pull from git repos in the rpms namespace.
2021-04-14 22:02:41 +00:00
Tom Stellard
72a26e56a1 Add libcxx-static as a test dependency
This fixes the clang/toolchains CI test.
2021-04-05 20:36:45 +00:00
Timm Bäder
283f2301df set CLANG_DEFAULT_UNWIND_LIB instead of using custom patch
And add the clang/toolchains test so we don't regress
2021-03-15 10:01:21 +01:00
Tom Stellard
c66b44eecb Add CI test for compiling programs with fedora compiler flags 2020-10-30 14:26:21 +00:00
Tom Stellard
bf527b3382 Fix libomp CI test
We need to uninstall clang at the beginning of this test along with libomp,
so that we can later install clang to test that it has the correct dependency on
libomp.  If we don't uninstall clang along with libomp at the beginning, then
clang won't be installed later and libomp won't get pulled back in.
2020-10-28 20:58:54 -07:00
sergesanspaille
70febad3d8 Fix toolchain search path
Re-activate a patch by tstellar to prefer gcc toolchains with libgcc_s
2020-09-23 17:46:58 +00:00
sergesanspaille
033a6e8acd Disable ABI test suite in gating
the CI bots don't have enogh FS space
2020-09-22 05:30:38 +00:00