summaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2016-03-29 13:24:22 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2016-03-29 13:24:22 +0000
commit53c452eee566d997bdef3ee0b20e7bb4485d77a4 (patch)
treeed9e279fbd16cfd37ff2f09aba3ca62e9d16b935 /libgomp/testsuite
parentb428654adb182a1140f4a05c765490619d5a8348 (diff)
downloadgcc-53c452eee566d997bdef3ee0b20e7bb4485d77a4.tar.gz
Avoid ERROR in libgomp.oacc-c++/c++.exp in non-C++ configurations
libgomp/ * testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call set-torture-options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r--libgomp/testsuite/libgomp.oacc-c++/c++.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c++/c++.exp b/libgomp/testsuite/libgomp.oacc-c++/c++.exp
index bbdbe2f9ec4..608b298d81e 100644
--- a/libgomp/testsuite/libgomp.oacc-c++/c++.exp
+++ b/libgomp/testsuite/libgomp.oacc-c++/c++.exp
@@ -122,6 +122,10 @@ if { $lang_test_file_found } {
gcc-dg-runtest $tests "$tagopt" "$libstdcxx_includes"
}
+} else {
+ # Call this once, which placates the subsequent torture-finish.
+ set-torture-options [list \
+ { INVALID } ]
}
# See above.