mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 02:10:29 +08:00
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
@ -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…
x
Reference in New Issue
Block a user