Commit graph

34 commits

Author SHA1 Message Date
Konrad Kleine
27eb7eff9f Fix wrapping 2024-05-03 07:30:25 +00:00
Konrad Kleine
1031a07e78 simplify README.md 2024-05-03 07:30:25 +00:00
Konrad Kleine
d853e7371a Add pre-commit config and README 2024-05-03 07:30:25 +00:00
Jesus Checa Hidalgo
004f89d043 Use beakerlib's builtin rlGetYAMLdeps for getting requires 2024-04-26 07:24:39 +00:00
Jesus Checa Hidalgo
55f54e67fd Add missing newline at end of files 2024-04-26 07:24:38 +00:00
Jesus Checa Hidalgo
cb1269b65a Add integration test suite profile for compat packages 2024-04-26 07:24:38 +00:00
Jesus Checa Hidalgo
d9e2ffc3fb Refactor integration test suite script
* Report all packages installed by tmt in the test output
* Port the script to beakerlib for better logging, setup and cleanup.
* Improve config environment variables. CMAKE_* env vars replaced with
NO_LIBUNWIND, NO_LIBCXX and NO_STATIC_LIBCXX env vars.
2024-04-26 07:24:38 +00:00
Jesus Checa Hidalgo
6ad9cfeb01 Convert integration-test-suite into a virtual test
Split tmt metadata into several tests based on the package set
to be tested, and select one or another depending on the tmt context.
Created subtests for devtools, rhel, fedora and snapshots.
2024-04-26 07:24:38 +00:00
Konrad Kleine
9f1c4acd2f Added newlines and moved dependencies
I've moved the dependencies all into the `require+` section because we
don't need to test that this is working in collections. If anything
breaks, it is because of upstream changes.
2024-04-25 10:28:42 +02:00
Konrad Kleine
5b893df9e4 Add test: Find LLVM package with CMake 2024-04-24 17:05:34 +02:00
Jesus Checa Hidalgo
e0ed1fc268 Fix readme formatting 2024-04-02 08:58:31 +02:00
Jesus Checa Hidalgo
1eee8b0c2d Add documentation to README.md 2024-03-08 14:43:00 +01:00
Jesus Checa Hidalgo
edc81ab906 Update integration-test-suite with new supported components (s390x) 2024-03-07 17:32:34 +01:00
Jesus Checa Hidalgo
a50c862ba9 Adapt build-gating.fmf plan to new metadata 2024-02-29 17:16:28 +01:00
Jesus Checa Hidalgo
bff72fc0c5 Move common metadata to tests/main.fmf 2024-02-29 16:58:59 +01:00
Jesus Checa Hidalgo
0cefb7984c Move all the tests to a subdirectory 2024-02-26 18:00:47 +01:00
Jesus Checa Hidalgo
139e125275 crash-with-fzero-args-used-regs: fix supported arches
Run the test only for x86_64 and aarch64 as -fzero-args-used-regs is
supported only on those:
https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fzero-call-used-regs
2024-02-06 09:56:51 +01:00
Jesus Checa Hidalgo
37b922b3d4 crash-with-fzero-args-used-regs: Add test
This tests that clang does not crash when -fzero-call-used-regs is used
along with optimization level higher than O1
https://bugzilla.redhat.com/show_bug.cgi?id=2262260
2024-02-02 14:46:42 +01:00
Jesus Checa Hidalgo
b2c603b916 integration-test-suite: Add support for Fedora snapshots 2023-10-24 18:08:03 +02:00
Jesus Checa Hidalgo
368d289550 shlibs-cet-support: Add the test
This test checks that the shared libraries shipped in llvm-libs
all have Intel CET support enabled by checking SHSTK and IBT notes.
2023-08-04 08:59:32 +02:00
Jesus Checa Hidalgo
42186b7cdb s390x-asm-unsupported-pc-relative-addr: Create test
Add test to ensure that clang reports properly when it cannot assemble
invalid pc-relative address. See rhbz#2216906
2023-07-12 16:31:54 +02:00
Jesus Checa Hidalgo
4368487016 libllvm-size: Increase the maximum expected size of the library 2022-11-07 18:01:19 +01:00
Edjunior Machado
0e349bf6eb Add llvm-toolset-15.0 2022-09-29 16:53:56 +02:00
Jesus Checa Hidalgo
898fbe6404 integration-test-suite: llvm-libunwind is not built for s390x, don't install it there 2022-09-23 16:06:09 +02:00
Jesus Checa Hidalgo
f4a44658f7 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
2022-09-19 15:14:06 +02:00
Jesus Checa Hidalgo
58f4b1d07e Remove llvm-devel-cmake.
This test has been put into the llvm integration testsuite:
https://github.com/opencollab/llvm-toolchain-integration-test-suite/blob/main/tests/plugins_newpm.txt
2022-09-08 09:23:07 +02:00
Jesus Checa Hidalgo
6e107a0912 integration-test-suite: add missing gcc-c++ dependency 2022-08-26 14:27:20 +02:00
Jesus Checa Hidalgo
674c2c0ffd binutils-plugin-ar: disable in rhel-7 due to rhbz#2119383 2022-08-22 18:09:46 +02:00
Jesus Checa Hidalgo
4019b121cc Improve llvm-devel-cmake test:
* Fix cmake complaints for not having a project() call
* Prevent removing packages not related to llvm-devel
* Test that LLVM find_package works
2022-08-19 12:03:25 +02:00
Jesus Checa Hidalgo
604b55464e Add nitrate metadata 2022-08-19 10:31:24 +02:00
Jesus Checa Hidalgo
8b050b7eff tests: Add llvm dist-git tests
* Enable fmf in the repo
* Copied tests from rpms/llvm
* Integrated llvm-devel-cmake which was not in rpms/llvm
2022-08-16 16:37:00 +02:00
Tom Stellard
034c5c4333 Add binutils-plugin-ar test
The test checks that ar is able to load the LLVMgold.so plugin and
create an archive with a valid symbol table from llvm bitcode objects.
2020-04-30 17:45:03 +00:00
Tom Stellard
3b1cc01f11 Import tests from rpms/llvm 2019-09-24 19:15:31 +00:00
Tom Stellard
f9273bb1e9 Add README file 2019-09-24 18:32:46 +00:00