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
Continuing the investigation that started with commit 336e421c1a,
restrict the information collected on the /tmp partition because we got
a confirmation this partition is getting full.
Also, collect more details about which directories and files in /tmp are
consuming all disk space.
Recent executions of this test on llvm-snapshots have been failing on
due to exhaustion of disk space. Print the disk usage at the end of the
execution in order to help debug this issue.
Before LLD 19 /usr/bin/ld.lld was a file, and now it's a symlink to /usr/bin/lld.
Hence, /etc/alternative/ld symlink now resolves to /usr/bin/lld,
breaking our check and raising false positives.
Updating the expression to match "lld" only fixes the issue.
Also disable snapshots.fmf on rhel, because we reuse the main
rhel.fmf for snapshots in that case. snapshots.fmf is the
replacement for fedora.fmf only.
Add pre-commit hooks for trailing whitespaces and newline at file end
Add pre-commit hook for tmt linting
Add pre-commit hook for static analysis on shell scripts (shellcheck)
Fixed issues flagged by shellcheck.
This commit mitigates test failures due to git unreliability and
improves test time over test reruns using cached SRPMs.
- Added CACHE_DIR_BASE, KERNEL_SRPM_PATTERN and KERNEL SRPM variables.
- Implemented checkCache() to look for an existing SRPM in the cache and
install its build dependencies.
- Implemented cloneKernelTree() for cloning the kernel-ark repo with
retries.
- Implemented generateSRPM() to handle all operations required to generate
an SRPM and cache it.
- Updated main test phase to utilize caching and SRPM generation
functions.