Move ioref001 to base/tests
authorIan Lynagh <igloo@earth.li>
Sat, 19 Nov 2011 23:53:51 +0000 (23:53 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 19 Nov 2011 23:53:51 +0000 (23:53 +0000)
testsuite/tests/lib/IORef/Makefile [deleted file]
testsuite/tests/lib/IORef/all.T [deleted file]
testsuite/tests/lib/IORef/ioref001.hs [deleted file]
testsuite/tests/lib/IORef/ioref001.stdout [deleted file]

diff --git a/testsuite/tests/lib/IORef/Makefile b/testsuite/tests/lib/IORef/Makefile
deleted file mode 100644 (file)
index 9101fbd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-TOP=../../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/test.mk
diff --git a/testsuite/tests/lib/IORef/all.T b/testsuite/tests/lib/IORef/all.T
deleted file mode 100644 (file)
index cb41d73..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-test('ioref001', compose(skip_if_fast,extra_run_opts('+RTS -K64m -RTS')), \
-        compile_and_run, ['+RTS -K64m -RTS'])
-
-# need to add -K32m to the compiler opts, so that GHCi gets it too
diff --git a/testsuite/tests/lib/IORef/ioref001.hs b/testsuite/tests/lib/IORef/ioref001.hs
deleted file mode 100644 (file)
index 837b82e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-module Main where
-
-import Data.IORef
-
-loop r 0 = return ()
-loop r c = loop r (c-1) >> writeIORef r 42
-
-main = newIORef 0 >>= \r -> loop r 1000000 >> putStrLn "done"
diff --git a/testsuite/tests/lib/IORef/ioref001.stdout b/testsuite/tests/lib/IORef/ioref001.stdout
deleted file mode 100644 (file)
index 19f86f4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-done