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

On branch  : ghc-7.4

http://hackage.haskell.org/trac/ghc/changeset/e8fae135f7b7820f7dc213182903e8e4fb5170b6

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

commit e8fae135f7b7820f7dc213182903e8e4fb5170b6
Author: Simon Marlow <[email protected]>
Date:   Fri Mar 2 11:42:25 2012 +0000

    fix test for the new TASKS stats output
    
    MERGED from commit 79f2474e4749f435d1acf1842f22d3f2ac2508e3

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

 tests/rts/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/rts/Makefile b/tests/rts/Makefile
index 3f93147..8f4acc0 100644
--- a/tests/rts/Makefile
+++ b/tests/rts/Makefile
@@ -35,7 +35,7 @@ exec_signals-prep:
 4850:
        $(RM) 4850.o 4850.hi 4850$(exeext)
        "$(TEST_HC)" $(TEST_HC_OPTS) -v0 -rtsopts -debug -threaded --make 4850
-       ./4850 +RTS -s 2>&1 | grep Task | wc -l | tr -d ' '
+       ./4850 +RTS -s 2>&1 | grep TASKS | sed 's/^ *TASKS: *\([0-9]*\).*$$/\1/'
 
 .PHONY: T5423
 T5423:



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

Reply via email to