summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests
diff options
context:
space:
mode:
authorsof <unknown>1997-05-26 01:54:54 +0000
committersof <unknown>1997-05-26 01:54:54 +0000
commit17f3069df44b1fadcd21af7524516e8ef347b3de (patch)
tree9d88873504e6a040669e20b031a6087c9728208c /ghc/compiler/tests
parent9d1780c5b491a7c1cbed85be34774130c6cc100d (diff)
downloadhaskell-17f3069df44b1fadcd21af7524516e8ef347b3de.tar.gz
[project @ 1997-05-26 01:54:54 by sof]
Use new Makefile setup
Diffstat (limited to 'ghc/compiler/tests')
-rw-r--r--ghc/compiler/tests/typecheck/stress/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/ghc/compiler/tests/typecheck/stress/Makefile b/ghc/compiler/tests/typecheck/stress/Makefile
index 4782dae0e1..641ad12986 100644
--- a/ghc/compiler/tests/typecheck/stress/Makefile
+++ b/ghc/compiler/tests/typecheck/stress/Makefile
@@ -1,5 +1,16 @@
-TOP = ../../../../..
-GhcRunTestRules = YES
-include $(TOP)/ghc/mk/ghc.mk
+TOP = ../../../..
+include $(TOP)/mk/boilerplate.mk
-runtests :: $(patsubst %.hs, %.runtest, $(wildcard *.hs))
+HS_SRCS = $(wildcard *.hs)
+
+SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
+HC_OPTS += -noC -ddump-tc -dcore-lint -hi
+
+%.o : %.hs
+
+%.o : %.hs
+ $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@))
+
+all :: $(HS_OBJS)
+
+include $(TOP)/mk/target.mk