From 71e0c82863b0021955ca76eb5c5b285714f46b73 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 21 Sep 2010 22:26:34 +0000 Subject: [PATCH] Fix bindisttest when GhcProfiled = YES --- bindisttest/ghc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk index 4705cef..0530ae0 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 -- 1.7.10.4