Commit 9ddad471 by Andreas Schwab Committed by Andreas Schwab

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
parent da52ef43
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
}
}
}
......
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