mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-27 04:55:01 +08:00
libstdc++.exp (dg-test): Unset testname_with_flags after running the test.
* testsuite/lib/libstdc++.exp (dg-test): Unset testname_with_flags after running the test. From-SVN: r194330
This commit is contained in:
parent
da52ef4376
commit
9ddad47136
@ -1,3 +1,8 @@
|
||||
2012-12-09 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* testsuite/lib/libstdc++.exp (dg-test): Unset testname_with_flags
|
||||
after running the test.
|
||||
|
||||
2012-12-04 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* include/Makefile.am (${host_builddir}/c++config.h): Replace
|
||||
|
@ -389,15 +389,22 @@ if { [info procs saved-dg-test] == [list] } {
|
||||
proc dg-test { args } {
|
||||
global additional_prunes
|
||||
global errorInfo
|
||||
global testname_with_flags
|
||||
|
||||
if { [ catch { eval saved-dg-test $args } errmsg ] } {
|
||||
set saved_info $errorInfo
|
||||
set additional_prunes ""
|
||||
if [info exists testname_with_flags] {
|
||||
unset testname_with_flags
|
||||
}
|
||||
unset_timeout_vars
|
||||
error $errmsg $saved_info
|
||||
}
|
||||
set additional_prunes ""
|
||||
unset_timeout_vars
|
||||
if [info exists testname_with_flags] {
|
||||
unset testname_with_flags
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user