summaryrefslogtreecommitdiff
path: root/bindisttest/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-12-10 16:12:18 +0000
committerIan Lynagh <igloo@earth.li>2010-12-10 16:12:18 +0000
commit8224f948f403886d76b98b1c91924485c9318388 (patch)
tree28863e30b7b97fd92bf1e4ac7ddd282d7815dd63 /bindisttest/ghc.mk
parent7836349556deef66f1b1d06fe8e9c7c0b841f0d0 (diff)
downloadhaskell-8224f948f403886d76b98b1c91924485c9318388.tar.gz
Add a test that all programs in the bindist were built with the right GHC
They should use the GHC from the build tree, not the bootstrapping compiler.
Diffstat (limited to 'bindisttest/ghc.mk')
-rw-r--r--bindisttest/ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk
index 4be2166217..a3e97b08f1 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -31,6 +31,7 @@ test_bindist:
# c:/foo is a remote file), so it's safer to bzip and then pipe into
# tar rather than using tar -xjf:
cd bindisttest/a/b/c/ && $(BZIP2_CMD) -cd ../../../../$(BIN_DIST_TEST_TAR_BZ2) | $(TAR_CMD) -xf -
+ $(SHELL) bindisttest/checkBinaries.sh $(ProjectVersion)
ifeq "$(Windows)" "YES"
mv bindisttest/a/b/c/$(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
else