[commit: ghc] ghc-lwc2: Cleaning up tests (b5d895c)
Sivaramakrishnan Krishnamoorthy Chandrasekaran
t-sichan at microsoft.com
Fri May 10 20:39:18 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : ghc-lwc2
https://github.com/ghc/ghc/commit/b5d895c890c19bccbe3b98fed5b6b6bf81402a35
>---------------------------------------------------------------
commit b5d895c890c19bccbe3b98fed5b6b6bf81402a35
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date: Wed May 8 15:55:25 2013 -0400
Cleaning up tests
>---------------------------------------------------------------
tests/Benchmarks/ChameneosRedux/ConcurrentList.hs | 4 ++--
tests/Makefile | 4 ----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/tests/Benchmarks/ChameneosRedux/ConcurrentList.hs b/tests/Benchmarks/ChameneosRedux/ConcurrentList.hs
index 2e30c9e..b5c6119 100644
--- a/tests/Benchmarks/ChameneosRedux/ConcurrentList.hs
+++ b/tests/Benchmarks/ChameneosRedux/ConcurrentList.hs
@@ -46,7 +46,7 @@ _INL_(yieldControlAction)
yieldControlAction :: Sched -> SCont -> PTM ()
yieldControlAction !(Sched pa) sc = do
stat <- getSContStatus sc
- unsafeIOToPTM $ debugPrint $ "YCA: " ++ show sc ++ " " ++ show stat
+ -- unsafeIOToPTM $ debugPrint $ "YCA: " ++ show sc ++ " " ++ show stat
-- Fetch current capability's scheduler
cc <- getSContCapability sc
let !(frontRef, backRef) = pa ! cc
@@ -68,7 +68,7 @@ _INL_(scheduleSContAction)
scheduleSContAction :: Sched -> SCont -> PTM ()
scheduleSContAction !(Sched pa) !sc = do
stat <- getSContStatus sc
- unsafeIOToPTM $ debugPrint $ "SSA: " ++ show sc ++ " " ++ show stat
+ -- unsafeIOToPTM $ debugPrint $ "SSA: " ++ show sc ++ " " ++ show stat
-- Since we are making the given scont runnable, update its status to Yielded.
setSContSwitchReason sc Yielded
-- Fetch the given SCont's scheduler.
diff --git a/tests/Makefile b/tests/Makefile
deleted file mode 100644
index 651bfd6..0000000
--- a/tests/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-TARGETS := scont-test.bin conc-rr-sched-test.bin mvar-prim-test.bin \
- par-rr-sched-test.bin resume-thread-from-RTS-test.bin
-
-include ./config.mk
More information about the ghc-commits
mailing list