diff options
author | Ian Lynagh <igloo@earth.li> | 2010-09-21 22:26:34 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-09-21 22:26:34 +0000 |
commit | 71e0c82863b0021955ca76eb5c5b285714f46b73 (patch) | |
tree | 154eed93119ca562f41ff48b1191f1c0f5224258 /bindisttest | |
parent | 4e077ce3e4abce11cadb48a6995d358982bf08d2 (diff) | |
download | haskell-71e0c82863b0021955ca76eb5c5b285714f46b73.tar.gz |
Fix bindisttest when GhcProfiled = YES
Diffstat (limited to 'bindisttest')
-rw-r--r-- | bindisttest/ghc.mk | 2 |
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 |