[commit: hpc] master: fix for cleaning and THREADS=N (fddefa1)
Simon Marlow
marlowsd at gmail.com
Mon Jan 30 15:48:55 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/hpc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/fddefa1be7c25d49bdf330e030859227c555986b
>---------------------------------------------------------------
commit fddefa1be7c25d49bdf330e030859227c555986b
Author: Simon Marlow <marlowsd at gmail.com>
Date: Mon Jan 30 10:59:54 2012 +0000
fix for cleaning and THREADS=N
>---------------------------------------------------------------
tests/simple/tixs/test.T | 36 +++++++++++++++++++++---------------
1 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/tests/simple/tixs/test.T b/tests/simple/tixs/test.T
index 7d9847e..7e6e6d0 100644
--- a/tests/simple/tixs/test.T
+++ b/tests/simple/tixs/test.T
@@ -37,20 +37,26 @@ test('hpc_help_draft', normal, run_command, ["'" + config.hpc + "' help draft"])
test('hpc_draft', normal, run_command, ["'" + config.hpc + "' draft " + hpcsample + ".tix"])
test('hpc_help_overlay', normal, run_command, ["'" + config.hpc + "' help overlay"])
-test('hpc_overlay', normal, run_command,
- [ "'" + config.hpc + "' overlay sample_overlay.ovr > sample_overlay.tix" +
- "; cat sample_overlay.tix " +
- ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay.tix > total.tix" +
- ";'" + config.hpc + "' report total.tix"]);
-test('hpc_overlay2', normal, run_command,
- [ "'" + config.hpc + "' overlay sample_overlay.ovr --output=sample_overlay.tix" +
- "; cat sample_overlay.tix " +
- ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay.tix --output=total.tix" +
- ";'" + config.hpc + "' report total.tix"]);
-test('hpc_hand_overlay', normal, run_command,
- [ "'" + config.hpc + "' overlay hand_overlay.ovr --output=sample_overlay.tix" +
- "; cat sample_overlay.tix " +
- ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay.tix --output=total.tix" +
- ";'" + config.hpc + "' report total.tix"]);
+
+test('hpc_overlay', [ extra_clean(['sample_overlay1.tix', 'total1.tix']) ],
+ run_command,
+ [ "'" + config.hpc + "' overlay sample_overlay.ovr > sample_overlay1.tix" +
+ "; cat sample_overlay1.tix " +
+ ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay1.tix > total1.tix" +
+ ";'" + config.hpc + "' report total1.tix"]);
+
+test('hpc_overlay2', [ extra_clean(['sample_overlay2.tix', 'total2.tix']) ],
+ run_command,
+ [ "'" + config.hpc + "' overlay sample_overlay.ovr --output=sample_overlay2.tix" +
+ "; cat sample_overlay2.tix " +
+ ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay2.tix --output=total2.tix" +
+ ";'" + config.hpc + "' report total2.tix"]);
+
+test('hpc_hand_overlay', [ extra_clean(['sample_overlay3.tix', 'total3.tix']) ],
+ run_command,
+ [ "'" + config.hpc + "' overlay hand_overlay.ovr --output=sample_overlay3.tix" +
+ "; cat sample_overlay3.tix " +
+ ";'" + config.hpc + "' combine " + hpcsample + ".tix sample_overlay3.tix --output=total3.tix" +
+ ";'" + config.hpc + "' report total3.tix"]);
test('hpc_bad_001', exit_code(1), run_command, ["'" + config.hpc + "' bad arguments"])
More information about the Cvs-libraries
mailing list