summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-03 18:45:35 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-03 18:45:35 +0000
commit68e4cca165f2ad7056f1f3c3b3fb067a08e696af (patch)
treea0693ecb7f84be353c54f762cdb9f97f018b498a /libgomp/testsuite/libgomp.c
parent5f5c2cdd701a6276634e3686109fcd734f47dc0d (diff)
downloadgcc-68e4cca165f2ad7056f1f3c3b3fb067a08e696af.tar.gz
* testsuite/lib/libgomp.exp (libgomp_target_compile): If $source
matches regex $lang_source_re, add $lang_include_flags to options. * testsuite/libgomp.c/c.exp: Unset lang_include_flags. * testsuite/libgomp.c++/c++.exp: Likewise. * testsuite/libgomp.fortran/fortran.exp: Likewise. Set lang_source_re and lang_include_flags instead of adding -fintrinsic-modules-path= to ALWAYS_CFLAGS. * testsuite/libgomp.graphite/graphite.exp: Unset lang_include_flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.c')
-rw-r--r--libgomp/testsuite/libgomp.c/c.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c/c.exp b/libgomp/testsuite/libgomp.c/c.exp
index 8e902d4c131..300b9211f6d 100644
--- a/libgomp/testsuite/libgomp.c/c.exp
+++ b/libgomp/testsuite/libgomp.c/c.exp
@@ -5,6 +5,9 @@ if [info exists lang_library_path] then {
if [info exists lang_test_file] then {
unset lang_test_file
}
+if [info exists lang_include_flags] then {
+ unset lang_include_flags
+}
load_lib libgomp-dg.exp
load_gcc_lib gcc-dg.exp