Commit ce83104b by Thomas Schwinge Committed by Thomas Schwinge

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.

From-SVN: r234519
parent 5f9a167b
2016-03-29 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call
set-torture-options.
2016-03-24 Thomas Schwinge <thomas@codesourcery.com> 2016-03-24 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use * testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use
......
...@@ -122,6 +122,10 @@ if { $lang_test_file_found } { ...@@ -122,6 +122,10 @@ if { $lang_test_file_found } {
gcc-dg-runtest $tests "$tagopt" "$libstdcxx_includes" gcc-dg-runtest $tests "$tagopt" "$libstdcxx_includes"
} }
} else {
# Call this once, which placates the subsequent torture-finish.
set-torture-options [list \
{ INVALID } ]
} }
# See above. # See above.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment