Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/7006f8ef5966b846d260677c2c5ceb04e85259a4

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

commit 7006f8ef5966b846d260677c2c5ceb04e85259a4
Author: Simon Marlow <[email protected]>
Date:   Tue May 24 14:47:59 2011 +0100

    test +RTS -G1 for the codeGen/should_run tests

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

 config/ghc                                 |    8 +++++---
 tests/ghc-regress/codeGen/should_run/all.T |    3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/config/ghc b/config/ghc
index 693b125..74b84e5 100644
--- a/config/ghc
+++ b/config/ghc
@@ -63,7 +63,8 @@ config.in_tree_compiler = in_tree_compiler
 
 config.way_flags = {
        'normal'     : [],
-       'optasm'     : ['-O -fasm'],
+        'g1'         : [],
+        'optasm'     : ['-O -fasm'],
        'llvm'       : ['-fllvm'],
        'optllvm'    : ['-O -fllvm'],
        'profasm'    : ['-O -prof -auto-all -fasm'],
@@ -85,8 +86,9 @@ config.way_flags = {
        }
 
 config.way_rts_flags = { 
-       'normal'     : [],
-       'optasm'     : [],
+        'normal'     : [],
+        'g1'         : ['-G1'],
+        'optasm'     : [],
        'llvm'       : [],
        'optllvm'    : [],
        'profasm'    : ['-hc'], # test heap profiling too
diff --git a/tests/ghc-regress/codeGen/should_run/all.T 
b/tests/ghc-regress/codeGen/should_run/all.T
index 5852c86..3c49510 100644
--- a/tests/ghc-regress/codeGen/should_run/all.T
+++ b/tests/ghc-regress/codeGen/should_run/all.T
@@ -1,3 +1,6 @@
+# Test +RTS -G1 here (it isn't tested anywhere else)
+setTestOpts(extra_ways(['g1']))
+
 test('cgrun001', normal, compile_and_run, [''])
 test('cgrun002', normal, compile_and_run, [''])
 test('cgrun003', normal, compile_and_run, [''])



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to