[cxx-mem-model] Call torture-finish in testing infrastructure

Submitted by Aldy Hernandez on Sept. 8, 2011, 3:09 a.m.

Details

Message ID 4E6831F2.4050603@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Sept. 8, 2011, 3:09 a.m.
Apparently, if you don't call torture-finish, subsequent tests in dg.exp 
inherit CFLAGS incorrectly.  Serves me right for not testing the entire 
testsuite when making changes to memmodel.exp.  When will I learn to 
expect the unexpected when making seemingly unrelated changes...?

Committed to branch.
* gcc.dg/memmodel/memmodel.exp: Call torture-finish.
        * g++.dg/memmodel/memmodel.exp: Likewise.

Patch hide | download patch | download mbox

Index: gcc.dg/memmodel/memmodel.exp
===================================================================
--- gcc.dg/memmodel/memmodel.exp	(revision 178607)
+++ gcc.dg/memmodel/memmodel.exp	(working copy)
@@ -54,4 +54,5 @@  if [info exists guality_gdb_name] {
     unsetenv GUALITY_GDB_NAME
 }
 
+torture-finish
 dg-finish
Index: g++.dg/memmodel/memmodel.exp
===================================================================
--- g++.dg/memmodel/memmodel.exp	(revision 178607)
+++ g++.dg/memmodel/memmodel.exp	(working copy)
@@ -54,4 +54,5 @@  if [info exists guality_gdb_name] {
     unsetenv GUALITY_GDB_NAME
 }
 
+torture-finish
 dg-finish