Calibrate == calibrate on Windows...
authorIan Lynagh <igloo@earth.li>
Fri, 6 Apr 2007 00:10:33 +0000 (00:10 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 6 Apr 2007 00:10:33 +0000 (00:10 +0000)
testsuite/timeout/Makefile
testsuite/timeout/TimeMe.hs [moved from testsuite/timeout/Calibrate.hs with 100% similarity]
testsuite/timeout/calibrate

index 6d2b4dd..d93c6a4 100644 (file)
@@ -4,7 +4,7 @@ include $(TOP)/mk/boilerplate.mk
 HC = $(GHC_INPLACE)
 MKDEPENDHS = $(GHC_INPLACE)
 SRC_HC_OPTS += -threaded
-EXCLUDED_SRCS += Calibrate.hs
+EXCLUDED_SRCS += TimeMe.hs
 
 ifeq "$(Windows)" "NO"
 SRC_HC_OPTS += -package unix
@@ -21,7 +21,7 @@ boot :: python-timeout
 endif
 
 calibrate.out:
-       rm -f Calibrate.o Calibrate.hi Calibrate
+       rm -f TimeMe.o TimeMe.hi TimeMe
        $(PYTHON) calibrate "$(HC)" > $@
 
 python-timeout:
index c4bdba6..4ebd07a 100644 (file)
@@ -10,8 +10,8 @@ compiler = argv[1]
 compiler_name = os.path.basename(compiler)
 
 spawnl(os.P_WAIT, compiler,
-                  compiler_name, 'Calibrate.hs', '-o', 'Calibrate', '-O2')
-spawnl(os.P_WAIT, './Calibrate', 'Calibrate')
+                  compiler_name, 'TimeMe.hs', '-o', 'TimeMe', '-O2')
+spawnl(os.P_WAIT, './TimeMe', 'TimeMe')
 
 xs = getrusage(RUSAGE_CHILDREN);
 print (300*int(math.ceil(xs[0] + xs[1])))