Implement recompilation checking for -fignore-asserts
[ghc.git] / testsuite / tests / driver / T13914 / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 t13914:
6 echo "Without -fignore-asserts"
7 '$(TEST_HC)' $(TEST_HC_OPTS) main.hs
8 (./main 2>&1); true
9 sleep 1
10 echo "With -fignore-asserts"
11 '$(TEST_HC)' $(TEST_HC_OPTS) -fignore-asserts main.hs
12 ./main 2>&1
13 sleep 1
14 echo "Without -fignore-asserts"
15 '$(TEST_HC)' $(TEST_HC_OPTS) main.hs
16 (./main 2>&1); true