[commit: testsuite] master: Dial back -O level on DPH tests to speed them up (08b63fb)

git at git.haskell.org git at git.haskell.org
Wed Oct 23 05:44:14 UTC 2013


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/08b63fbbdd417eceb7ad72fb861015e254059975/testsuite

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

commit 08b63fbbdd417eceb7ad72fb861015e254059975
Author: Ben Lippmeier <benl at ouroborus.net>
Date:   Wed Oct 23 16:28:24 2013 +1100

    Dial back -O level on DPH tests to speed them up
    
    The DPH backend library will be replaced, so there is no reason to slow down validate in order to test it.


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

08b63fbbdd417eceb7ad72fb861015e254059975
 tests/dph/classes/dph-classes.T         |    2 +-
 tests/dph/diophantine/dph-diophantine.T |    2 +-
 tests/dph/dotp/dph-dotp.T               |    4 ++--
 tests/dph/enumfromto/dph-enumfromto.T   |    2 +-
 tests/dph/modules/dph-modules.T         |    2 +-
 tests/dph/primespj/dph-primespj.T       |    2 +-
 tests/dph/sumnats/dph-sumnats.T         |    4 ++--
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tests/dph/classes/dph-classes.T b/tests/dph/classes/dph-classes.T
index b493819..de1ea83 100644
--- a/tests/dph/classes/dph-classes.T
+++ b/tests/dph/classes/dph-classes.T
@@ -6,4 +6,4 @@ test    ('dph-classes-vseg-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-vseg'])
+          , '-O0 -fno-enable-rewrite-rules -package dph-lifted-vseg'])
diff --git a/tests/dph/diophantine/dph-diophantine.T b/tests/dph/diophantine/dph-diophantine.T
index 1636f5a..b051cd2 100644
--- a/tests/dph/diophantine/dph-diophantine.T
+++ b/tests/dph/diophantine/dph-diophantine.T
@@ -16,5 +16,5 @@ test    ('dph-diophantine-copy-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-copy'])
+          , '-O0 -package dph-lifted-copy'])
 
diff --git a/tests/dph/dotp/dph-dotp.T b/tests/dph/dotp/dph-dotp.T
index 8800d84..2bb95ba 100644
--- a/tests/dph/dotp/dph-dotp.T
+++ b/tests/dph/dotp/dph-dotp.T
@@ -26,7 +26,7 @@ test    ('dph-dotp-copy-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-copy -package dph-prim-par'])
+          , '-O0 -package dph-lifted-copy -package dph-prim-par'])
 
 test    ('dph-dotp-vseg-fast' 
         , [ outputdir('vseg-fast')
@@ -35,5 +35,5 @@ test    ('dph-dotp-vseg-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-vseg -package dph-prim-par'])
+          , '-O0 -package dph-lifted-vseg -package dph-prim-par'])
 
diff --git a/tests/dph/enumfromto/dph-enumfromto.T b/tests/dph/enumfromto/dph-enumfromto.T
index 3d8257e..da3061f 100644
--- a/tests/dph/enumfromto/dph-enumfromto.T
+++ b/tests/dph/enumfromto/dph-enumfromto.T
@@ -6,4 +6,4 @@ test    ('EnumFromToP'
           , expect_broken(7736)
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , compile_fail
-        , [ '-O -fno-enable-rewrite-rules -package dph-lifted-vseg'])
+        , [ '-O0 -package dph-lifted-vseg'])
diff --git a/tests/dph/modules/dph-modules.T b/tests/dph/modules/dph-modules.T
index 77db0cd..c9476b6 100644
--- a/tests/dph/modules/dph-modules.T
+++ b/tests/dph/modules/dph-modules.T
@@ -5,4 +5,4 @@ test    ('dph-ExportList-vseg-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile
         , [ 'ExportList'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-vseg'])
+          , '-O0 -package dph-lifted-vseg'])
diff --git a/tests/dph/primespj/dph-primespj.T b/tests/dph/primespj/dph-primespj.T
index 84f41f9..fc09b8c 100644
--- a/tests/dph/primespj/dph-primespj.T
+++ b/tests/dph/primespj/dph-primespj.T
@@ -16,6 +16,6 @@ test    ('dph-primespj-copy-fast'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-O -fno-enable-rewrite-rules -package dph-lifted-copy'])
+          , '-O0 -package dph-lifted-copy'])
 
 
diff --git a/tests/dph/sumnats/dph-sumnats.T b/tests/dph/sumnats/dph-sumnats.T
index 08d2c47..83b301b 100644
--- a/tests/dph/sumnats/dph-sumnats.T
+++ b/tests/dph/sumnats/dph-sumnats.T
@@ -6,7 +6,7 @@ test    ('dph-sumnats-copy'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-Odph -package dph-lifted-copy'])
+          , '-O0 -package dph-lifted-copy'])
 
 test    ('dph-sumnats-vseg' 
         , [ outputdir('vseg')
@@ -15,5 +15,5 @@ test    ('dph-sumnats-vseg'
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
         , [ 'Main'
-          , '-Odph -package dph-lifted-vseg'])
+          , '-O0 -package dph-lifted-vseg'])
 



More information about the ghc-commits mailing list