From 278f20fc19f4e7bc2d10e3f5412d9382eec10be0 Mon Sep 17 00:00:00 2001 From: janis Date: Fri, 5 Sep 2008 19:29:26 +0000 Subject: [PATCH] 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 --- libgomp/ChangeLog | 4 ++++ libgomp/testsuite/libgomp.c/c.exp | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. + 2008-08-31 Aaron W. LaFramboise * 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 -- 2.11.0