X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libgomp%2Ftestsuite%2Flibgomp.c%2Fc.exp;h=980bb526f3f75bcb0a20e8c1109c96bbb60df6f6;hb=3606b8bf7748532a34900596674a517b3e153753;hp=9eaab6252c35893a0ca47d1458656db0d4d802ad;hpb=516f1ed8ca848d84a3cd991daef349a26cf7a37e;p=gcc.git diff --git a/libgomp/testsuite/libgomp.c/c.exp b/libgomp/testsuite/libgomp.c/c.exp index 9eaab6252c3..980bb526f3f 100644 --- a/libgomp/testsuite/libgomp.c/c.exp +++ b/libgomp/testsuite/libgomp.c/c.exp @@ -1,8 +1,10 @@ if [info exists lang_library_path] then { unset lang_library_path - unset lang_test_file unset lang_link_flags } +if [info exists lang_test_file] then { + unset lang_test_file +} load_lib libgomp-dg.exp @@ -18,6 +20,7 @@ dg-init set tests [lsort [find $srcdir/$subdir *.c]] set ld_library_path $always_ld_library_path +append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST] set_ld_library_path_env_vars # Main loop.