Patchwork [cxx-mem-model] g++.dg/dg.exp: exclude memmodel tests

login
register
mail settings
Submitter Aldy Hernandez
Date Sept. 7, 2011, 6:12 p.m.
Message ID <4E67B404.6080303@redhat.com>
Download mbox | patch
Permalink /patch/113808/
State New
Headers show

Comments

Aldy Hernandez - Sept. 7, 2011, 6:12 p.m.
I am doing a merge from trunk and noticed the g++.dg/dg.exp are all 
failing because we are trying to run the memmodel/ tests outside of the 
memmodel/ directory.  The memmodel tests must be excluded from the 
dg.exp list, since they are handled specially.

Fixed thusly.

Applied to branch.
* gcc.dg/dg.exp: Exclude memmodel tests.

Patch

Index: g++.dg/dg.exp
===================================================================
--- g++.dg/dg.exp	(revision 178607)
+++ g++.dg/dg.exp	(working copy)
@@ -48,6 +48,7 @@  set tests [prune $tests $srcdir/$subdir/
 set tests [prune $tests $srcdir/$subdir/torture/*]
 set tests [prune $tests $srcdir/$subdir/graphite/*]
 set tests [prune $tests $srcdir/$subdir/guality/*]
+set tests [prune $tests $srcdir/$subdir/memmodel/*]
 
 # Main loop.
 dg-runtest $tests "" $DEFAULT_CXXFLAGS