projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
[gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
c.exp
diff --git
a/libgomp/testsuite/libgomp.c/c.exp
b/libgomp/testsuite/libgomp.c/c.exp
index 9eaab6252c35893a0ca47d1458656db0d4d802ad..980bb526f3f75bcb0a20e8c1109c96bbb60df6f6 100644
(file)
--- 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
if [info exists lang_library_path] then {
unset lang_library_path
- unset lang_test_file
unset lang_link_flags
}
unset lang_link_flags
}
+if [info exists lang_test_file] then {
+ unset lang_test_file
+}
load_lib libgomp-dg.exp
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
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.
set_ld_library_path_env_vars
# Main loop.