Commit 94b21612 authored by Ian Lynagh's avatar Ian Lynagh

Fix the Windows detection in the testsuite Makefiles

We need to look at "ghc +RTS --info", not "ghc --info".
parent e93c5009
......@@ -60,7 +60,7 @@ STAGE3_GHC := $(abspath $(TOP)/../inplace/bin/ghc-stage3)
ifneq "$(wildcard $(STAGE1_GHC) $(STAGE1_GHC).exe)" ""
ifeq "$(BINDIST)" "YES"
ifeq '$(shell $(STAGE1_GHC) --info | grep "^ ..\"Host OS\". \"mingw32\".$$")' ''
ifeq '$(shell $(STAGE1_GHC) +RTS --info | grep "^ ..\"Host OS\". \"mingw32\".$$")' ''
TEST_HC := $(abspath $(TOP)/../)/bindisttest/installed/bin/ghc
else
TEST_HC := "$(abspath $(TOP)/../)/bindisttest/install dir/bin/ghc"
......
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