summaryrefslogtreecommitdiff
path: root/bindisttest
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-21 22:26:34 +0000
committerIan Lynagh <igloo@earth.li>2010-09-21 22:26:34 +0000
commit71e0c82863b0021955ca76eb5c5b285714f46b73 (patch)
tree154eed93119ca562f41ff48b1191f1c0f5224258 /bindisttest
parent4e077ce3e4abce11cadb48a6995d358982bf08d2 (diff)
downloadhaskell-71e0c82863b0021955ca76eb5c5b285714f46b73.tar.gz
Fix bindisttest when GhcProfiled = YES
Diffstat (limited to 'bindisttest')
-rw-r--r--bindisttest/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk
index 4705cef2b0..0530ae00f1 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -37,8 +37,10 @@ else
cd bindisttest/a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(TOP)/$(BIN_DIST_INST_DIR)
cd bindisttest/a/b/c/$(BIN_DIST_NAME) && $(MAKE) install
endif
+ifeq "$(GhcProfiled)" "NO"
$(BIN_DIST_INST_DIR)/bin/runghc bindisttest/HelloWorld > bindisttest/output
$(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output
+endif
$(BIN_DIST_INST_DIR)/bin/ghc --make bindisttest/HelloWorld
bindisttest/HelloWorld > bindisttest/output
$(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output