Ensure libgcc is installed in order to prevent the following error:
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
This is usually pre-installed because it's a requirement for dnf, but
dnf is not guaranteed to be installed in all scenarios.
Both base-lto and debug-lto tests have been failing since Linux upstream
added a new config option. This is requiring us to waive test results
whenever we have a new build on Rawhide.
The issue is being tracked at:
https://gitlab.com/cki-project/kernel-ark/-/issues/191
The kernel-ark team disabled these tests in their infrastructure and
believe that fixing them is not a priority at the moment.
Considering that our goal with kernel-ark-build is to track build issues
caused by LLVM changes before the kernel team see them, we should keep
our tests identical to them. In other words: we should disable both LTO
tests.
Prefer to use dnf5, when it's available on the system.
Fallback to dnf-3 otherwise.
This fixes a warning on Testing Farm that might be interpreted as failure.
Avoid running rpm against package names because they change when we test
a compat package.
Use the executable path instead because PATH gets modified when testing
compat packages.
Find returns failure when it isn't able to access all subdirectories,
causing a false-positive.
Avoid that by redirecting error messages to /dev/null and counting the
amount of files found.
LLDB 23 adds support for DW_FORM GNU_ref_alt and GNU_strp_alt.
Since this is supported unconditionally (don't depend on any config
dependent on the distro or the maintainer) we will set a check for the
lldb version in the script, rather than overcomplicating the metadata.
Sometime this code was added in order to help troubleshoot an issue with
miniFE. It hasn't helped and it's causing issues when reporting issues
in Github because this is generating a too long output.
* Test tag review: add fedora-only and multilib, removed spoils-installation
for being a duplicate of not-in-default
* Remove outdiated architecture and distribution adjustment rules.
* Further simplification of adjust rules by using major version comparison (~<)
(https://fmf.readthedocs.io/en/stable/context.html#major-version)
* Add bugzilla links and descriptions to some tests
* Improve README by documenting all context dimensions used and test tags.
1. Ensure the required packages are listed.
2. Ignore running this test on RHEL/CentOS because the llvm-test-suite
package is not available there.
3. Ignore running this test for compat packages.
4. Remove treatment of parameters from the script because this will
always be called from tmt without parameters.
5. Remove temporary directory.
Move a script from https://src.fedoraproject.org/rpms/llvm-test-suite to
here. With this change, network access and git are not required.
Adds cmake to the list of required package as this was missing before.
This test will ensure that all the exported targets (imported from the
user's perspective) from the clang and llvm find_package() are shipped
and are part of a dependency of the package which provides the
find_package.
* No i686 pkgs, disable cross-compile-i686
* No python pkgs, disable lldb python interpreter tests, and ensure
lldbNN does not depend on python-lldb
* Force integration testsuite to run libomp tests.
* Do not check buildrequires in pie-rpm so the spec builds with clangNN
Now that snapshots also include libcxx and mlir, we can use the
normal fedora configuration.
Also drop the conditions for fedora versions older than 40, which
are no longer supported.
After a recent file update, the output is now:
> a.exe: PE32+ executable for MS Windows 5.02 (console), x86-64, 18 sections
Adjust the grep to match both the old and new output. I think the
key parts are that it's a "PE32+ executable" for x86-64.
lld metadata adjustments are tricky and makes sense to group the tests
together to avoid as much duplicity as possible from a maintainability
point of view