summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-05 19:29:26 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-05 19:29:26 +0000
commit278f20fc19f4e7bc2d10e3f5412d9382eec10be0 (patch)
treec53cd3de3055d98fae20cd1c836c099570d3acbf /libgomp
parent9049240ca2e545bcac52f04215bae7206ca6bc5a (diff)
downloadgcc-278f20fc19f4e7bc2d10e3f5412d9382eec10be0.tar.gz
testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/testsuite/libgomp.c/c.exp4
2 files changed, 7 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 1c122f052ba..eaa08f9ca30 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-05 Janis Johnson <janis187@us.ibm.com>
+
+ * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
+
2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined.
diff --git a/libgomp/testsuite/libgomp.c/c.exp b/libgomp/testsuite/libgomp.c/c.exp
index 4085d0c07e0..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