io032_HC_OPTS += -fglasgow-exts -package lang
io035_HC_OPTS += -package lang
+io003_RUNTEST_OPTS += -o1 io003.stdout-mingw
io004_RUNTEST_OPTS += -x 42
io016_RUNTEST_OPTS += io016.hs io016.out
io017_RUNTEST_OPTS += -i io017.stdin
io021_RUNTEST_OPTS += -i io021.hs
io022_RUNTEST_OPTS += -i io022.hs
io028_RUNTEST_OPTS += -i io028.hs
+io034_RUNTEST_OPTS += -o1 io034.stdout-mingw
+io035_RUNTEST_OPTS += -o1 io035.stdout-mingw
.PRECIOUS: %.o %.bin
--- /dev/null
+C:\TEMP\fptools-head\fptools\ghc\tests\io\should_run\io003.bin
main = do
t <- getCPUTime
- print t
print (nfib 30)
t <- getCPUTime
- print t
print (length (show t)) -- printing the CPU time itself is un-cool if you want to diff the output..
nfib :: Integer -> Integer
--- /dev/null
+Permissions{readable=True,writable=True,executable=True,searchable=True}
+Permissions{readable=True,writable=True,executable=True,searchable=True}
+Permissions{readable=True,writable=True,executable=True,searchable=True}
--- /dev/null
+illegal operation
+Action: hGetChar
+Handle: {loc=stdin,type=semi-closed,buffering=block (512)}
+
+Reason: handle is closed
+illegal operation
+Action: hGetChar
+Handle: {loc=stdin,type=semi-closed,buffering=block (512)}
+
+Reason: handle is closed