[commit: hpc] master: Omit prof ways for subdir/tough2 (2fc797b)

Simon Marlow marlowsd at gmail.com
Thu Dec 1 17:17:47 CET 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/hpc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2fc797b0f264a809adcb4aa83887a9a0e92d4346

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

commit 2fc797b0f264a809adcb4aa83887a9a0e92d4346
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Thu Dec 1 15:06:34 2011 +0000

    Omit prof ways for subdir/tough2

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

 tests/function/test.T |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/function/test.T b/tests/function/test.T
index 2243b6b..b37ffe4 100644
--- a/tests/function/test.T
+++ b/tests/function/test.T
@@ -10,5 +10,8 @@ test('tough', cmd_prefix(hpc_prefix), compile_and_run, ['-fhpc'])
 # subdirectory and (b) it is a literate file.  We had a bug in this
 # area caused by the handling of line pragmas in the preprocessed
 # source file.
-test('subdir/tough2', [ literate, cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
-
+test('subdir/tough2',
+     [ literate,
+       cmd_prefix(hpc_prefix),
+       omit_ways(['ghci'] + prof_ways) ], # profile goes in the wrong place
+     compile_and_run, ['-fhpc'])





More information about the Cvs-libraries mailing list