Commit 71e0c828 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix bindisttest when GhcProfiled = YES

parent 4e077ce3
...@@ -37,8 +37,10 @@ else ...@@ -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) && ./configure --prefix=$(TOP)/$(BIN_DIST_INST_DIR)
cd bindisttest/a/b/c/$(BIN_DIST_NAME) && $(MAKE) install cd bindisttest/a/b/c/$(BIN_DIST_NAME) && $(MAKE) install
endif endif
ifeq "$(GhcProfiled)" "NO"
$(BIN_DIST_INST_DIR)/bin/runghc bindisttest/HelloWorld > bindisttest/output $(BIN_DIST_INST_DIR)/bin/runghc bindisttest/HelloWorld > bindisttest/output
$(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output $(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output
endif
$(BIN_DIST_INST_DIR)/bin/ghc --make bindisttest/HelloWorld $(BIN_DIST_INST_DIR)/bin/ghc --make bindisttest/HelloWorld
bindisttest/HelloWorld > bindisttest/output bindisttest/HelloWorld > bindisttest/output
$(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output $(CONTEXT_DIFF) bindisttest/output bindisttest/expected_output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment