From 8a1fcca7204a9bba97c7e5fe5d1641b378bfc2dd Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Thu, 26 Oct 2023 20:10:01 +0100 Subject: 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 --- gcc/testsuite/lib/target-libpath.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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)] { -- cgit v1.1