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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/19d638e86c66b69e862248fba8b67357a302d25e

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

commit 19d638e86c66b69e862248fba8b67357a302d25e
Author: Simon Peyton Jones <simo...@microsoft.com>
Date:   Wed Oct 3 08:05:25 2012 +0100

    We weren't generating a stats file for tests that only had 
stats_range_fields perf tests
    
    I fixed this in a plausible looking way, similar to 
compiler_stats_range/num fields.

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

 driver/testlib.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/driver/testlib.py b/driver/testlib.py
index 6937f67..5853413 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -1165,7 +1165,7 @@ def simple_run( name, way, prog, args ):
     my_rts_flags = rts_flags(way)
 
     stats_file = name + '.stats'
-    if len(opts.stats_num_fields) > 0:
+    if len(opts.stats_num_fields) + len(opts.stats_range_fields) > 0:
         args += ' +RTS -V0 -t' + stats_file + ' --machine-readable -RTS'
 
     if opts.no_stdin:



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to