Skip to content
Snippets Groups Projects
Commit 73ac6d4b authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-09-05 14:52:56 by simonm]

templates for micro-test directories
parent 0029ebd9
No related branches found
No related tags found
No related merge requests found
#-----------------------------------------------------------------------------
# template for should_compile tests.
HS_SRCS = $(wildcard *.hs)
SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
%.o : %.hs
@echo \*\*\* Testing for successful compilation of $<
@$(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@
all :: $(HS_OBJS)
#-----------------------------------------------------------------------------
# template for should_fail tests
HS_SRCS = $(wildcard *.hs)
SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 1
%.o : %.hs
@echo \*\*\* Testing for failure to compile $<
@$(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@
all :: $(HS_OBJS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment