Commit f7e2c3ef authored by simonmar's avatar simonmar
Browse files

[project @ 2005-07-08 13:59:48 by simonmar]

Add test for -odir with non-Haskell compilation
parent 5c35fead
......@@ -87,6 +87,16 @@ test024:
$(TEST_HC) -c B/C.hs -odir obj
test -f obj/B/C$(OBJSUFFIX)
# test -odir with non-Haskell compilation
test024a:
@$(MKDIRHIER) obj
@$(RM) B/stub.c
@$(RM) obj/B/stub$(OBJSUFFIX)
@-rmdir obj/B
@echo >B/stub.c
$(TEST_HC) -c B/stub.c -odir obj
test -f obj/B/stub$(OBJSUFFIX)
# test -hidir
test025:
@$(MKDIRHIER) hi
......
......@@ -9,6 +9,7 @@ test('driver021', normal, run_command_ignore_output, ['$MAKE test021'])
test('driver022', normal, run_command_ignore_output, ['$MAKE test022'])
test('driver023', normal, run_command_ignore_output, ['$MAKE test023'])
test('driver024', normal, run_command_ignore_output, ['$MAKE test024'])
test('driver024a', normal, run_command_ignore_output, ['$MAKE test024a'])
test('driver025', normal, run_command_ignore_output, ['$MAKE test025'])
test('driver026', normal, run_command_ignore_output, ['$MAKE test026'])
test('driver031', normal, run_command_ignore_output, ['$MAKE test031'])
......
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