summaryrefslogtreecommitdiff
path: root/testsuite/timeout
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-10-13 14:43:52 +0000
committerIan Lynagh <igloo@earth.li>2009-10-13 14:43:52 +0000
commitdd5802cce7ca35db0cf6c9e0e7f892d01ac49ccb (patch)
treef078e05357c0f4cf30e5c29ee850b8e994b221ae /testsuite/timeout
parent501d458b42bdb4a457ac6ff4c86074510c24a521 (diff)
downloadhaskell-dd5802cce7ca35db0cf6c9e0e7f892d01ac49ccb.tar.gz
Fix quoting in the testsuite timeout program's Makefile
Diffstat (limited to 'testsuite/timeout')
-rw-r--r--testsuite/timeout/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/timeout/Makefile b/testsuite/timeout/Makefile
index 44c3304c77..7fa6e25fa4 100644
--- a/testsuite/timeout/Makefile
+++ b/testsuite/timeout/Makefile
@@ -16,7 +16,7 @@ PREFIX := $(abspath install-inplace)
$(eval $(call canonicalise,PREFIX))
ifneq "$(GCC)" ""
-WITH_GCC = --with-gcc=$(GCC)
+WITH_GCC = --with-gcc='$(GCC)'
endif
ifeq "$(filter thr, $(GhcRTSWays))" ""
@@ -29,12 +29,12 @@ $(TIMEOUT_PROGRAM): timeout.py
else
$(TIMEOUT_PROGRAM): timeout.hs
rm -rf install-inplace
- $(TEST_HC) --make Setup
- ./Setup configure --with-compiler=$(TEST_HC) \
- --with-hc-pkg=$(GHC_PKG) \
- --with-hsc2hs=$(HSC2HS) \
+ '$(TEST_HC)' --make Setup
+ ./Setup configure --with-compiler='$(TEST_HC)' \
+ --with-hc-pkg='$(GHC_PKG)' \
+ --with-hsc2hs='$(HSC2HS)' \
$(WITH_GCC) \
- --ghc-option=-threaded --prefix=$(PREFIX)
+ --ghc-option=-threaded --prefix='$(PREFIX)'
./Setup build
./Setup install
endif
@@ -43,7 +43,7 @@ boot all :: calibrate.out $(TIMEOUT_PROGRAM)
calibrate.out:
$(RM) -f TimeMe.o TimeMe.hi TimeMe TimeMe.exe
- $(PYTHON) calibrate "$(GHC_STAGE1)" > $@
+ $(PYTHON) calibrate '$(GHC_STAGE1)' > $@
# We use stage 1 to do the calibration, as stage 2 may not exist.
# This isn't necessarily the compiler we'll be running the testsuite
# with, but it's really the performance of the machine that we're