This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] tree-ssa g++ testsuite executed twice


Hello,

it looks like the tests in g++.dg/tree-ssa/ are executed twice: first through
g++.dg/dg.exp and then through g++.dg/tree-ssa/tree-ssa.exp. To fix this, we
have two different approacches:

- We exclude tree-ssa/ from dg.exp, like for other directories
- We remove tree-ssa.exp altogether: the only difference from dg.exp is that
tree-ssa.exp does not scan subdirectories, and does not pass -Wno-long-long as
default parameter to the compiler (but all the tests still succeed so it does
not seem a problem).

Which way is the best? I attacched the patch to go with the former, as the
latter is just the removal of a file.

Giovanni Bajo



testsuite/
        * g++.dg/dg.exp: Do not process tree-ssa tests (they have a specific
        exp file).


Index: g++.dg/dg.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/dg.exp,v
retrieving revision 1.10
diff -c -3 -p -r1.10 dg.exp
*** g++.dg/dg.exp 27 Feb 2004 02:01:09 -0000 1.10
--- g++.dg/dg.exp 18 Jun 2004 13:37:50 -0000
*************** set tests [prune $tests $srcdir/$subdir/
*** 39,44 ****
--- 39,45 ----
  set tests [prune $tests $srcdir/$subdir/pch/*]
  set tests [prune $tests $srcdir/$subdir/special/*]
  set tests [prune $tests $srcdir/$subdir/tls/*]
+ set tests [prune $tests $srcdir/$subdir/tree-ssa/*]

  # Main loop.
  dg-runtest $tests "" $DEFAULT_CXXFLAGS



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]