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
This commit is contained in:
Thomas Schwinge 2016-03-29 15:24:22 +02:00 committed by Thomas Schwinge
parent 5f9a167b52
commit ce83104bd8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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>
* testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use

View File

@ -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.