aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-10-26 20:10:01 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-10-26 20:23:46 +0100
commit8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd (patch)
treea9204c960d68c5e060b7abe8ae432536d17535e8
parent662655e22dddf5392d9aa67fce45beee980e5454 (diff)
downloadgcc-8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd.zip
gcc-8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd.tar.gz
gcc-8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd.tar.bz2
testsuite, Darwin: Adjust target test for modern OS.
The same conditions on use of DYLD_LIBRARY_PATH apply to OS versions 11 to 14, so make the test general. gcc/testsuite/ChangeLog: * lib/target-libpath.exp: Skip DYLD_LIBRARY_PATH for all current OS versions > 10. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r--gcc/testsuite/lib/target-libpath.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/target-libpath.exp b/gcc/testsuite/lib/target-libpath.exp
index 36b64dd..5dbb2d3 100644
--- a/gcc/testsuite/lib/target-libpath.exp
+++ b/gcc/testsuite/lib/target-libpath.exp
@@ -171,7 +171,7 @@ proc set_ld_library_path_env_vars { } {
}
if { [istarget *-*-darwin*] } {
if { [info exists ENABLE_DARWIN_AT_RPATH] || [istarget *-*-darwin1\[5-9\]*]
- || [istarget *-*-darwin20*] } {
+ || [istarget *-*-darwin2*] } {
# Either we are not using DYLD_LIBRARY_PATH or we're on a version of the
# OS for which it is not passed through system exes.
if [info exists env(DYLD_LIBRARY_PATH)] {