Skip to content
Snippets Groups Projects
Commit 51c08cf9 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Improve bindist testing

We now also test runghc and unlit
parent 0d9b5f10
No related branches found
No related tags found
No related merge requests found
\begin{code}
module Main (main) where
main :: IO ()
main = putStr "Hello world!"
\end{code}
......@@ -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) && make install
endif
$(BIN_DIST_INST_DIR)/bin/runghc HelloWorld > output
$(CONTEXT_DIFF) output expected_output
$(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
./HelloWorld > output
$(CONTEXT_DIFF) output expected_output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment