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

login
register
mail settings
Submitter Aldy Hernandez
Date Sept. 8, 2011, 3:09 a.m.
Message ID <4E6831F2.4050603@redhat.com>
Download mbox | patch
Permalink /patch/113860/
State New
Headers show

Comments

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

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