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

On branch  : master

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

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

commit c98a1bb54eb81b96a70455c2b2c72455abffd810
Author: Simon Marlow <[email protected]>
Date:   Tue Nov 29 16:07:09 2011 +0000

    Ignore IDLE in .prof.sample (fix spurious profthreaded failures)

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

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

diff --git a/driver/testlib.py b/driver/testlib.py
index 78cef9b..746d122 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -1542,7 +1542,7 @@ def normalise_prof (str):
     str = re.sub('^(.*\n)*COST CENTRE[^\n]*\n','',str)
 
     # strip results for CAFs, these tend to change unpredictably
-    str = re.sub('[ \t]*CAF.*\n','',str)
+    str = re.sub('[ \t]*(CAF|IDLE).*\n','',str)
 
     # XXX Ignore Main.main.  Sometimes this appears under CAF, and
     # sometimes under MAIN.



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

Reply via email to