Commit ac80ea2b authored by Simon Marlow's avatar Simon Marlow
Browse files

accept output

parent 2e02097a
[1 of 2] Compiling Test2 ( Test2.hs, Test2.o )
[2 of 2] Compiling Test ( Test.hs, Test.o )
Linking Test ...
[1 of 1] Compiling Test2 ( Test2.hs, Test2.o ) [flags changed]
Linking Test2 ...
"Test2.doit"
"Test2.main"
[1 of 1] Compiling Test2 ( Test2.hs, Test2.o ) [flags changed]
Linking Test2 ...
"Test2.doit"
......@@ -16,12 +16,12 @@ clean:
# bug #437
437: clean
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 --make -main-is Test.main Test.hs
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 --make -main-is Test2.main Test2.hs
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make -main-is Test.main Test.hs
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make -main-is Test2.main Test2.hs
./Test
./Test2
sleep 1
# Test that changing the main function name forces recomp of Test2
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 --make -main-is Test2.doit Test2.hs
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make -main-is Test2.doit Test2.hs
./Test2
......@@ -4,5 +4,5 @@
[4 of 5] Compiling D ( D.hs, D.o )
[5 of 5] Compiling E ( E.hs, E.o )
[3 of 5] Compiling C ( C.hs, C.o )
[4 of 5] Compiling D ( D.hs, D.o )
[5 of 5] Compiling E ( E.hs, E.o )
[4 of 5] Compiling D ( D.hs, D.o ) [C changed]
[5 of 5] Compiling E ( E.hs, E.o ) [D changed]
[1 of 2] Compiling B ( B.hs, B.o )
[2 of 2] Compiling A ( A.hs, A.o )
[2 of 2] Compiling A ( A.hs, A.o ) [B changed]
Building b-1.0...
Preprocessing executable 'test' for b-1.0...
[1 of 2] Compiling B ( B.hs, dist/build/test/test-tmp/B.o )
[2 of 2] Compiling Main ( Main.hs, dist/build/test/test-tmp/Main.o )
[1 of 2] Compiling B ( B.hs, dist/build/test/test-tmp/B.o ) [A changed]
[2 of 2] Compiling Main ( Main.hs, dist/build/test/test-tmp/Main.o ) [B changed]
Linking dist/build/test/test ...
[1 of 1] Compiling Main ( Main.hs, Main.o )
Linking Main ...
42
[1 of 1] Compiling Main ( Main.hs, Main.o )
[1 of 1] Compiling Main ( Main.hs, Main.o ) [B.hsinc changed]
Linking Main ...
43
[1 of 1] Compiling Main ( Main.hs, Main.o )
[1 of 1] Compiling Main ( Main.hs, Main.o ) [A.hsinc changed]
Linking Main ...
4343
4343
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