Commit 712434a9 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-01 13:20:54 by simonmar]

Add some more driver tests
parent 5419c3ae
......@@ -220,3 +220,61 @@ test062:
test063:
@$(RM) A.hi A.o A.hc D.hi D.o D.hc
-@$(TEST_HC) --make -i -v0 D.hs
# Test -E
test064:
@$(RM) A.hi A.hspp
$(TEST_HC) -E A.hs
test -f A.hspp
# Test -E/-cpp
test065:
@$(RM) A.hi A.hspp
$(TEST_HC) -E -cpp A.hs
test -f A.hspp
# Test -E/-o
test066:
@$(RM) A.hi A.tmp
$(TEST_HC) -E A.hs -o A.tmp
test -f A.tmp
# Test -E/-cpp/-o
test067:
@$(RM) A.hi A.tmp
$(TEST_HC) -cpp -E A.hs -o A.tmp
test -f A.tmp
# Test -C
test068:
@$(RM) A.hi A.hc
$(TEST_HC) -C A.hs
test -f A.hc
# Test -C/-o
test069:
@$(RM) A.hi A.tmp
$(TEST_HC) -C A.hs -o A.tmp
test -f A.tmp
# Test -S
test070:
@$(RM) A.hi A.s
$(TEST_HC) -S A.hs
test -f A.s
# Test -S/-o
test071:
@$(RM) A.hi A.tmp
$(TEST_HC) -S A.hs -o A.tmp
test -f A.tmp
# No recompilation required, but we requested a .hc file --> should recompile
# Broken briefy in ghc-6.3.
test080:
@$(RM) A.hi A.o A.hc
$(TEST_HC) -c A.hs
test -f A.o
$(TEST_HC) -C A.hs
test -f A.hc
......@@ -25,6 +25,17 @@ test('driver060', normal, run_command_ignore_output, ['$MAKE test060'])
test('driver061', normal, run_command_ignore_output, ['$MAKE test061'])
test('driver062', normal, run_command_ignore_output, ['$MAKE test062'])
test('driver063', normal, run_command, ['$MAKE -s --no-print-directory test063'])
test('driver064', normal, run_command_ignore_output, ['$MAKE test064'])
test('driver065', normal, run_command_ignore_output, ['$MAKE test065'])
test('driver066', normal, run_command_ignore_output, ['$MAKE test066'])
test('driver067', normal, run_command_ignore_output, ['$MAKE test067'])
test('driver068', normal, run_command_ignore_output, ['$MAKE test068'])
test('driver069', normal, run_command_ignore_output, ['$MAKE test069'])
test('driver070', normal, run_command_ignore_output, ['$MAKE test070'])
test('driver071', normal, run_command_ignore_output, ['$MAKE test071'])
test('driver080', normal, run_command_ignore_output, ['$MAKE test080'])
clean(['B/C.hi', 'B/C.o', 'B/C.ooo', 'B/C.xhi',
'd1/P/Q.o', 'd2/R/S.o', 'd1/P/Q.hi', 'd2/R/S.hi',
'A.ooo', 'A.xhi', 'Hello.hi', 'Hello.o', 'hello'])
......
Supports Markdown
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