[all-commits] [llvm/llvm-project] 728030: compiler-rt: test: Use the host instead of the tar...
Peter Collingbourne via All-commits
all-commits at lists.llvm.org
Tue Jul 22 01:30:19 PDT 2025
Branch: refs/heads/release/21.x
Home: https://github.com/llvm/llvm-project
Commit: 728030a452804f2b79bdc2e61cc2505e304860b0
https://github.com/llvm/llvm-project/commit/728030a452804f2b79bdc2e61cc2505e304860b0
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-07-22 (Tue, 22 Jul 2025)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
compiler-rt: test: Use the host instead of the target to select %expect_crash.
When running tests in a cross-compiled build, %expect_crash is
run on the host, not the target, so we need to check the host
OS. config.host_os surprisingly refers to the target OS because it
is derived from CMAKE_SYSTEM_NAME which specifies the target. See:
https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html
Another speculative fix for:
https://lab.llvm.org/buildbot/#/builders/193/builds/9070
(cherry picked from commit 968d38d1d7d9de2d5717457876bba2663b36f620)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list