From: Iain Sandoe Date: Thu, 26 Oct 2023 19:10:01 +0000 (+0100) Subject: testsuite, Darwin: Adjust target test for modern OS. X-Git-Tag: basepoints/gcc-15~5183 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/lib/target-libpath.exp b/gcc/testsuite/lib/target-libpath.exp index 36b64dd45501..5dbb2d3a734f 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)] {