changeset 24:278bd0dcec51

add Makefile for test
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Mon, 03 Feb 2014 19:35:08 +0900
parents 7f471687756c
children efb4e880ac7f
files test/Makefile test/ParWrite2.hs
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/Makefile	Mon Feb 03 19:35:08 2014 +0900
@@ -0,0 +1,7 @@
+# we should use cabal
+RCPUS = 4
+test: ParRead
+	./ParRead +RTS -K1G -N$(RCPUS)
+
+ParRead: ParRead.hs
+	ghc -O2 ParRead.hs -i.. -threaded
--- a/test/ParWrite2.hs	Sun Jan 26 20:44:15 2014 +0900
+++ b/test/ParWrite2.hs	Mon Feb 03 19:35:08 2014 +0900
@@ -12,7 +12,7 @@
 import System.Environment
 import System.IO.Unsafe
 
-treeDepth = 5
+treeDepth = 6
 
 main = do
   jungle <- createJungle