Skip to content
Snippets Groups Projects
Commit a595130f authored by Ian Lynagh's avatar Ian Lynagh
Browse files

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
No related branches found
Tags ghc-8.6.1-alpha1
No related merge requests found
TOP=../../.. TOP=../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.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', test('qq007',
[when(fast(), skip), [when(fast(), skip),
extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']), extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']),
# We'd need to jump through some hoops to run this test the pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways(['profasm','profthreaded']),
only_compiler_types(['ghc'])], only_compiler_types(['ghc'])],
multimod_compile, multimod_compile,
['Test', '-v0']) ['Test', '-v0'])
TOP=../../.. TOP=../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.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', test('qq008',
[when(fast(), skip), [when(fast(), skip),
extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']), extra_clean(['QQ.hi', 'QQ.o', 'Test.hi', 'Test.o']),
# We'd need to jump through some hoops to run this test the pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways(['profasm','profthreaded']),
only_compiler_types(['ghc'])], only_compiler_types(['ghc'])],
multimod_compile, multimod_compile,
['Test', '-v0']) ['Test', '-v0'])
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