summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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