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:
parent
5f9a167b52
commit
ce83104bd8
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue