[project @ 1999-01-23 17:54:42 by sof]
authorsof <unknown>
Sat, 23 Jan 1999 17:54:43 +0000 (17:54 +0000)
committersof <unknown>
Sat, 23 Jan 1999 17:54:43 +0000 (17:54 +0000)
Updated to work with current sources

ghc/tests/lib/should_run/Makefile
ghc/tests/lib/should_run/dynamic001.hs
ghc/tests/lib/should_run/exceptions001.hs

index cfe7880..0afbdc1 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.9 1999/01/18 15:44:44 simonm Exp $
+# $Id: Makefile,v 1.10 1999/01/23 17:54:42 sof Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
@@ -12,6 +12,10 @@ exceptions001_HC_OPTS   = -fglasgow-exts -fno-warn-missing-methods
 stableptr002_HC_OPTS    = -fglasgow-exts
 list001_HC_OPTS         = -fglasgow-exts
 
+enum01_HC_OPTS         = -cpp -fglasgow-exts -H12m
+enum02_HC_OPTS         = -cpp -fglasgow-exts -H12m
+enum03_HC_OPTS         = -cpp -fglasgow-exts -H12m
+
 stableptr001_RUNTEST_OPTS = +RTS -K4m
 dynamic001_HC_OPTS = -syslib exts
 
index 8126cbe..9da1bb5 100644 (file)
@@ -1,4 +1,4 @@
---!!! Dynamic library tests
+-- !!! Dynamic library regression tests
 module Main(main) where
 
 import Dynamic
index 5afa536..4e28e94 100644 (file)
@@ -13,7 +13,7 @@ main = do
   dynTest
 
 ioTest :: IO ()
-ioTest = catchIO justIoErrors (fail (userError "wibble")) 
+ioTest = catchIO justIoErrors (ioError (userError "wibble")) 
           (\ex -> if isUserError ex then putStr "io exception caught\n" 
                                     else error "help!")