tests: Fix tests on macOS Tahoe 2.5.2 [GNU Libtool 2.6.2] testsuite: 156 187 failed Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81497 * tests/exceptions.at: Set LTDL_LIBRARY_PATH to current working dir.
diff --git a/tests/exceptions.at b/tests/exceptions.at index b1f7408..42363ba 100644 --- a/tests/exceptions.at +++ b/tests/exceptions.at
@@ -395,6 +395,8 @@ [main.$OBJEXT l/liba.la l/libcommon.la -dlopen m/module.la $LIBLTDL -export-dynamic], [], [ignore], [ignore]) +LTDL_LIBRARY_PATH=`pwd` +export LTDL_LIBRARY_PATH LT_AT_NOINST_EXEC_CHECK([./main], [-dlopen m/module.la], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=install cp l/libcommon.la $libdir],