From: tschwinge Date: Tue, 29 Mar 2016 13:24:22 +0000 (+0000) Subject: Avoid ERROR in libgomp.oacc-c++/c++.exp in non-C++ configurations X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53c452eee566d997bdef3ee0b20e7bb4485d77a4;p=thirdparty%2Fgcc.git 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 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e0cd567d0d1e..f4f30fb697d3 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2016-03-29 Thomas Schwinge + + * testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call + set-torture-options. + 2016-03-24 Thomas Schwinge * testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use diff --git a/libgomp/testsuite/libgomp.oacc-c++/c++.exp b/libgomp/testsuite/libgomp.oacc-c++/c++.exp index bbdbe2f9ec4b..608b298d81e1 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.