[commit: testsuite] master: Only run T7995 with optimizations (it tests rule firing). (02e16d5)

Edward Z. Yang ezyang at ghc.haskell.org
Sun Jul 21 00:53:05 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/02e16d56f9548e0a96b0a7f4c48aecb2e13090f3

>---------------------------------------------------------------

commit 02e16d56f9548e0a96b0a7f4c48aecb2e13090f3
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Sat Jul 20 15:53:01 2013 -0700

    Only run T7995 with optimizations (it tests rule firing).
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

>---------------------------------------------------------------

 tests/simplCore/should_compile/all.T |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/simplCore/should_compile/all.T b/tests/simplCore/should_compile/all.T
index d5dc2a3..2297aec 100644
--- a/tests/simplCore/should_compile/all.T
+++ b/tests/simplCore/should_compile/all.T
@@ -180,7 +180,9 @@ test('T7702',
      ['-v0 -package-db T7702plugin/pkg.T7702/local.package.conf -fplugin T7702Plugin -package T7702plugin ' + config.ghci_way_flags])
 
 test('T7995',
-     normal,
+     # RULE doesn't seem to fire unless optimizations are turned on.
+     # This seems reasonable, so I've required it for the test. -- EZY 20130720
+     only_ways(['optasm']),
      run_command,
      ['$MAKE -s --no-print-directory T7995'])
 






More information about the ghc-commits mailing list