Commit Graph

31 Commits

Author SHA1 Message Date
Miloš Prchlík
c3eaca601e tests: ninja is not ninja on RHEL7/ppc64/Epel, but cmake knows
By using `cmake --build` instead of calling `ninja` directly, test
should run well on ppc64 even when `ninja-build` is all we have.
2022-03-04 10:44:16 +01:00
Miloš Prchlík
b28a786b94 tests: bump libLLVM size threshold
The library size can vary a bit, 100MB is sort of correct, but e.g. RHSCL version is 106MB. Bumping the size threshold to 150MB, it should b still safely within the original bug report of 2GB.
2022-03-03 10:27:02 +00:00
Jesus Checa Hidalgo
4c0fee8654 tests: remove unavailable requirements for s390x
lld and libomp are not shipped in s390x, hence causing provisioning
prepare step to fail as they are required in llvm-integration-testsuite.
The test should still run fine without those packages.
2022-02-09 18:22:40 +01:00
Miloš Prchlík
e6d1a04f09 tests: CRB in CentOS has different name 2022-02-03 14:33:55 +01:00
Miloš Prchlík
f97fd4bb29 tests: add extra repositories to allow installation of ninja/libstdc++ 2022-01-11 16:01:30 +00:00
Miloš Prchlík
978f4952dd tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0) 2021-12-13 12:29:21 +01:00
Milos Prchlik
c3456fa4ca tests: unquote use of CMAKE_LIBCXX to avoid empty yet existing cmake argument 2021-11-25 14:56:57 +01:00
Milos Prchlik
9e0411bb7b tests: use adjust to handle libcxx requirement in Fedora and RHEL 2021-11-24 14:07:30 +01:00
Milos Prchlik
6564e5278d tests: rename default plan to build-gating to better eflect its current purpose
My expectation is that in the future, more tests will land in this git,
and not all of them would be useful in gating time. AFAIK, CI systems do
run everything they can, therefore adding `when` to control when the
plan is executed - `is not defined` bit should allow anyone to run it
manually, while the rest of the condition should limit its presence to
gating events.
2021-11-16 16:26:59 +01:00
Milos Prchlik
b7f7ff0fcb tests: use python3-lit rather than python-lit
Easier for downstream to adapt, one less difference.
2021-11-03 08:33:46 +01:00
Milos Prchlik
14cd547cf5 tests: record HW requirements
This was originally stored in provision.fmf, but after the TMT
transition, this information should be preserved. It is probably not
honoured by that many CI systems, but things will get better over time.

See https://tmt.readthedocs.io/en/stable/spec/plans.html#hardware for
specification details.
2021-09-17 13:25:29 +00:00
Milos Prchlik
027da3930a tests: returning few comments dropped during TMT conversion
I find these comments useful, especially for my future self who would be
dealing with the subtle changes between Fedora and downstream.
2021-09-17 10:51:44 +02:00
Timm Bäder
b7b4d3e66b Port tests to tmt 2021-09-15 08:01:11 +02:00
Milos Prchlik
b21766edbc 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.
2021-09-13 21:56:17 +00:00
serge-sans-paille
dbd3134b54 Maintain versionned link to llvm-config 2021-07-22 16:15:34 +02:00
serge-sans-paille
c944d8e241 Extra dependencies for integration test suite 2021-06-24 14:09:35 +02:00
serge-sans-paille
9fc4be03e7 Use integration test suite instead of regression test suite 2021-05-12 10:28:12 +02:00
serge-sans-paille
a49938dcf5 Minimal CI test for llvm-config
Previous release broke llvm-config, make sure this does not happen again
2021-05-01 21:08:17 +02:00
Tom Stellard
d3a7312537 Import tests from tests/llvm repository
It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.
2021-04-09 22:47:38 +00:00
serge-sans-paille
014d0253f8 Increase CI capacity 2020-09-15 08:29:19 +00:00
Tom Stellard
afed217ebc Fix regression-tests CI tests 2020-08-21 13:24:07 +00:00
Tom Stellard
764a78bf46 Remove llvm-devel-cmake test
This test is no longer relevant since llvm-devel now Requires both
llvm-static and llvm-test.
2020-08-19 00:00:55 +00:00
Tom Stellard
71b43061fd Install LLVMgold.so symlink in bfd-plugins directory 2020-05-12 15:47:18 +00:00
serge-sans-paille
8e1d8d6581 Update testing to pass gating tests
- Backport bab5908df544680ada0a3cf431f55aeccfbdb321 (test portability)
- Fix indentation in tests/tests.yml
- Remove testing of update utility tools
2020-04-15 19:17:21 +00:00
Tom Stellard
f61fd6e557 tests.yml: Add a test to check size of libLLVM.so
There is a bug in the build system that can cause binary stripping
to fail without failing the build, so add a check to ensure that
libLLVM.so is stripped.

https://bugzilla.redhat.com/show_bug.cgi?id=1793250
2020-01-21 16:16:53 +00:00
Tom Stellard
a49a481229 Pull llvm-devel-cmake tests from tests/llvm 2019-09-25 02:29:57 +00:00
Tom Stellard
bab8b9476f Split out test executables into their own export file 2019-09-11 20:05:31 +00:00
Tom Stellard
77699b4333 Sync with llvm8.0 spec file
Also replace %global compat_build 0 with %bcond_with compat_build.
This will make it easier to test building the compat version of the
package and allow us to add a CI test for it.
2019-08-22 03:32:37 +00:00
Tom Stellard
a0a7bdc94a Add rust-sanity test 2019-07-19 22:57:37 +00:00
Tom Stellard
4ccbf0466c Fixes for llvm-test package
- Add some missing Requires
- Add --threads option to run-lit-tests script
- Set PATH so lit can find tools like count, not, etc.
- Don't hardcode tools directory to /usr/lib64/llvm
- Fix typo in yaml-bench define
- Only print information about failing tests
- Run tests in CI with only 1 thread
2018-10-01 15:42:48 +00:00
Tom Stellard
a47388f920 Package lit tests and googletest sources 2018-08-27 19:26:59 +00:00