Commit 51c08cf9 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Improve bindist testing

We now also test runghc and unlit
parent 0d9b5f10
\begin{code}
module Main (main) where module Main (main) where
main :: IO () main :: IO ()
main = putStr "Hello world!" main = putStr "Hello world!"
\end{code}
...@@ -33,6 +33,8 @@ else ...@@ -33,6 +33,8 @@ else
cd a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR) cd a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR)
cd a/b/c/$(BIN_DIST_NAME) && make install cd a/b/c/$(BIN_DIST_NAME) && make install
endif endif
$(BIN_DIST_INST_DIR)/bin/runghc HelloWorld > output
$(CONTEXT_DIFF) output expected_output
$(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
./HelloWorld > output ./HelloWorld > output
$(CONTEXT_DIFF) output expected_output $(CONTEXT_DIFF) output 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