summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-03-28 14:26:34 +0000
committersimonmar <unknown>2001-03-28 14:26:34 +0000
commit712e272f9699be7d6d70004b40916ee8bf5496b5 (patch)
treed8f7f497c1eaca218de436b1922cc704e739f697
parent86ef046e3c6008aaa7a614a0072e11f41aa40c3a (diff)
downloadhaskell-712e272f9699be7d6d70004b40916ee8bf5496b5.tar.gz
[project @ 2001-03-28 14:26:34 by simonmar]
fix some test problems
-rw-r--r--ghc/tests/codeGen/should_run/Makefile5
-rw-r--r--ghc/tests/codeGen/should_run/cg026.hs2
-rw-r--r--ghc/tests/codeGen/should_run/cg042.hs2
3 files changed, 6 insertions, 3 deletions
diff --git a/ghc/tests/codeGen/should_run/Makefile b/ghc/tests/codeGen/should_run/Makefile
index b08a5332de..75171b0cd6 100644
--- a/ghc/tests/codeGen/should_run/Makefile
+++ b/ghc/tests/codeGen/should_run/Makefile
@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.17 2001/02/28 10:45:40 rrt Exp $
+# $Id: Makefile,v 1.18 2001/03/28 14:26:34 simonmar Exp $
TOP = ../..
include $(TOP)/mk/boilerplate.mk
@@ -34,6 +34,9 @@ cg021_RUNTEST_OPTS = +RTS -K2m
cg025_RUNTEST_OPTS = -x 1 cg025.hs
cg045_RUNTEST_OPTS = -x 1
+# tmp, until we fix the problems with seq#...
+cg045_HC_OPTS = -O
+
# mkdependHS doesn't understand OPTIONS pragmas...
SRC_MKDEPENDHS_OPTS += -fglasgow-exts
diff --git a/ghc/tests/codeGen/should_run/cg026.hs b/ghc/tests/codeGen/should_run/cg026.hs
index 4943843c00..6a6bb24c45 100644
--- a/ghc/tests/codeGen/should_run/cg026.hs
+++ b/ghc/tests/codeGen/should_run/cg026.hs
@@ -8,7 +8,7 @@ import ST
import ST
import MutableArray
import ByteArray
-import Int( Num(fromInt) )
+import Int( fromInt )
import Ratio
import Array
diff --git a/ghc/tests/codeGen/should_run/cg042.hs b/ghc/tests/codeGen/should_run/cg042.hs
index 16a14135fb..3371be420b 100644
--- a/ghc/tests/codeGen/should_run/cg042.hs
+++ b/ghc/tests/codeGen/should_run/cg042.hs
@@ -7,7 +7,7 @@ import IOExts
import ByteArray
import MutableArray
import ST
-import Int( Num(fromInt) )
+import Int( fromInt )
import Ratio -- 1.3
import Array -- 1.3