aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2008-09-05 19:29:26 +0000
committerJanis Johnson <janis@gcc.gnu.org>2008-09-05 19:29:26 +0000
commit3606b8bf7748532a34900596674a517b3e153753 (patch)
treec53cd3de3055d98fae20cd1c836c099570d3acbf /libgomp
parent56cc59285b9360e96b80767677bde326d5fa524f (diff)
downloadgcc-3606b8bf7748532a34900596674a517b3e153753.zip
gcc-3606b8bf7748532a34900596674a517b3e153753.tar.gz
gcc-3606b8bf7748532a34900596674a517b3e153753.tar.bz2
testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
From-SVN: r140043
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 1c122f0..eaa08f9 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 4085d0c..980bb52 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