Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
650f5746
Commit
650f5746
authored
Sep 01, 2006
by
Simon Marlow
Browse files
leave EXTRA_HC_OPTS for use on the command line
parent
2f092d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/test.mk
View file @
650f5746
...
...
@@ -31,8 +31,6 @@ GHC_STAGE1_ABS = $(GHC_COMPILER_DIR_ABS)/stage1/ghc-inplace
GHC_STAGE2_ABS
=
$(GHC_COMPILER_DIR_ABS)
/stage2/ghc-inplace
GHC_STAGE3_ABS
=
$(GHC_COMPILER_DIR_ABS)
/stage3/ghc-inplace
EXTRA_HC_OPTS
+=
-D
$(HostPlatform_CPP)
# ideally TargetPlatform_CPP, but that doesn't exist; they're always the same anyway
RUNTESTS
=
$(TOP)
/driver/runtests.py
COMPILER
=
ghc
CONFIG
=
$(TOP)
/config/
$(COMPILER)
...
...
@@ -91,6 +89,7 @@ endif
RUNTEST_OPTS
+=
\
--config
=
$(CONFIG)
\
-e
config.compiler
=
\"
$(TEST_HC)
\"
\
-e
config.compiler_always_flags.append
"(
\"
-D
$(HostPlatform_CPP)
\"
)"
\
-e
config.compiler_always_flags.append
"(
\"
$(EXTRA_HC_OPTS)
\"
)"
\
-e
config.platform
=
\"
$(TARGETPLATFORM)
\"
\
-e
config.wordsize
=
\"
$(WORDSIZE)
\"
\
...
...
@@ -100,6 +99,8 @@ RUNTEST_OPTS += \
-e
config.timeout_prog
=
\"
$(TOP)
/timeout/timeout
\"
\
$(EXTRA_RUNTEST_OPTS)
# HostPlatform_CPP should ideally be TargetPlatform_CPP, but that
# doesn't exist; they're always the same anyway
ifeq
"$(fast)" "YES"
setfast
=
-e
config.fast
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment