Commit a595130f authored by ian@well-typed.com's avatar ian@well-typed.com

Fix qq00{7,8} with dynamic ghc

Untested, but I think they should pass for the profiling ways too now,
so those ways are no longer omitted.
parent 48951557
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
.PHONY: TH_QQ
TH_QQ:
ifeq "$(GhcDynamic)" "YES"
'$(TEST_HC)' $(TEST_HC_OPTS) -c QQ.hs -dynamic -osuf dyn_o -hisuf dyn_hi
else
'$(TEST_HC)' $(TEST_HC_OPTS) -c QQ.hs
endif
test('qq007',
[when(fast(), skip),
extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']),
# We'd need to jump through some hoops to run this test the
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways(['profasm','profthreaded']),
pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
only_compiler_types(['ghc'])],
multimod_compile,
['Test', '-v0'])
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
.PHONY: TH_QQ
TH_QQ:
ifeq "$(GhcDynamic)" "YES"
'$(TEST_HC)' $(TEST_HC_OPTS) -c QQ.hs -dynamic -osuf dyn_o -hisuf dyn_hi
else
'$(TEST_HC)' $(TEST_HC_OPTS) -c QQ.hs
endif
test('qq008',
[when(fast(), skip),
extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']),
# We'd need to jump through some hoops to run this test the
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways(['profasm','profthreaded']),
pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
only_compiler_types(['ghc'])],
multimod_compile,
['Test', '-v0'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment