Commit graph

28 commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
c9cf4400a6 Remove reference to %{clang_resource_dir_readonly}
This macro has been removed in LLVM 17.0.0.
2023-08-09 16:07:41 -03:00
Tulio Magno Quites Machado Filho
f37486b615 Ignore RC suffixes in the version string
Considering the macro variables do not have the ~rcN suffix, the rpm
version must be cleaned before it's used as input to validate the
correct value in the macro version.
2023-08-09 16:05:55 -03:00
Jesus Checa Hidalgo
3ff5b7451d openmp-rpm: adjustments for fedora 39 (dnf5) 2023-07-12 18:51:33 +02:00
Jesus Checa Hidalgo
1e0115c194 gcc-clang-compatibility: Add support for gcc-toolset installations
clang may use a gcc from gcc-toolset instead the system version. In that
case we need to test the compatibility with that one, not with the
system based gcc.
2023-07-03 14:33:38 +02:00
Jesus Checa Hidalgo
5a8ea6a930 ppc64le-long-double: Adjust distro relevancy 2023-05-11 18:28:00 +02:00
Tulio Magno Quites Machado Filho
5ac66c3693 Add a new test that validates the RPM macros
This new test checks if Clang's RPM macros are:
1. Installed.
2. Have correct values.
3. Point to existing directories.
2023-04-14 12:10:40 -03:00
Tulio Magno Quites Machado Filho
6a33abfde8 Install dnf-config-manager before using it
The container image centos:stream9 does not come with
'dnf config-manager' preinstalled, forcing us to install it first.
2023-04-14 12:04:30 -03:00
Tulio Magno Quites Machado Filho
22639249c6 Remove pocl-related tests
pocl has been FTBFS since Fedora 38. There is a plan to orphan it.
2023-04-04 14:43:52 -03:00
Jesus Checa Hidalgo
de1d86b24b rhbz_482491: Fix missing gcc-x86_64-linux-gnu dependency in Fedora 2023-01-24 10:44:06 +01:00
Nikita Popov
048eb66cf0 Add test for ucrt64 toolchain detection on fedora 2022-12-21 11:04:24 +01:00
Jesus Checa Hidalgo
5a94d66325 libomp: query for host arch clang/libomp to avoid false positives if multilib packages are installed 2022-12-20 11:06:13 +01:00
Jesus Checa Hidalgo
4685483471 long-double: add nitrate metadata 2022-11-28 12:02:57 +01:00
Tulio Magno Quites Machado Filho
a0abe34748 Add 2 new tests that validate the ppc64le long double ABI
This patch is highly based on the ppc64le-long-double test that was
available in the previous commit.  However, it adds an extra step that
ignores mock if the test is run inside an unprivileged container
solution.

The first test (exp) evaluates if clang is able to build C programs for
both IBM double-double as well as IEEE 128-bit long double.  As Fedora uses
glibc by default, which supports both scenarios, both executables should
work.

The second test (parse) uses clang in order to evaluate if C++ programs
built with default parameters and linking against libc++ use IEEE
128-bit long double.
This test should be extended in the future in order to evaluate that
clang is able to generate C++ programs for both IBM double-double and
IEEE 128-bit long double using libstdc++.  This can't be enabled now
because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 .
2022-11-25 10:22:07 -03:00
Tulio Magno Quites Machado Filho
6dcae89e8c Test long double format on all architectures
Modify the ppc64le-long-double test in order to be reused and executed
on all architectures, guaranteeing that gcc and clang will provide the
same default long double format on all architectures.
2022-11-25 10:22:07 -03:00
Jesus Checa Hidalgo
7686cf01a1 ppc64le-long-double: reenable test 2022-10-25 09:44:10 +02:00
Jesus Checa Hidalgo
8454ab8df6 gcc-clang-compatibility: Test that gcc compiled objs can be linked with
clang and viceversa.
2022-10-17 12:19:10 +02:00
Edjunior Machado
af1b185754 Add llvm-toolset-15.0 2022-09-30 12:51:57 +02:00
Jesus Checa Hidalgo
24ce28afab libomp: Refactor the test to make it suitable for the general testplan
Added checks to ensure that the versions of clang and libomp match
Test no longer requires removing packages to work.
2022-09-02 10:51:18 +02:00
Jesus Checa Hidalgo
7b73875f86 Pull llvm-integration-testsuite from llvm tests repo instead dist-git 2022-08-22 16:32:51 +02:00
Jesus Checa Hidalgo
ab3d3a4e21 Add nitrate metadata 2022-08-19 15:32:02 +02:00
Jesus Checa Hidalgo
675b60ec17 Import tests from rpms/clang 2022-07-19 12:49:38 +02:00
Timm Bäder
061565d8fd Enable -static libc++ toolchain tests 2021-03-22 11:44:05 +01:00
Tom Stellard
c7a6ef0f24 Add more toolchain tests 2021-01-30 02:54:56 +00:00
Tom Stellard
39f92abcf4 Add a test for compiling with the fedora compiler and linker flags 2020-07-29 04:17:59 +00:00
Tom Stellard
ac62af341a Add test to check that clang can find the libomp header and libraries 2020-03-20 14:52:14 +00:00
serge-sans-paille
1d620dc3b0 Test for rhbz#1794936 2020-02-13 13:57:44 +00:00
Tom Stellard
5cd5549121 Import tests from rpms/clang 2019-09-24 19:12:04 +00:00
Tom Stellard
56f24323b5 Add README file 2019-09-24 18:47:34 +00:00