Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
72f39133
Commit
72f39133
authored
Jul 28, 2008
by
Simon Marlow
Browse files
add tests for #2248
parent
1174775e
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/driver/Makefile
View file @
72f39133
...
...
@@ -391,6 +391,19 @@ test080:
test
-f
A.hc
# Tests for #2248, -o and .exe
define
test081
$(RM)
$(1).hs
$(1).hi
$(1)$(OBJSUFFIX)
$(1).hc
$(1)$(exeext)
echo
"module Main where { main = putStrLn \"ok\" }"
>$(1).hs
$(TEST_HC)
--make
-v0
$(1).hs
test
-f
$(1)$(exeext)
endef
test081.1
:
$(
call
test081, Test_0
)
test081.2
:
$(
call
test081, Test.0
)
# -----------------------------------------------------------------------------
# --make tests
...
...
testsuite/tests/ghc-regress/driver/all.T
View file @
72f39133
...
...
@@ -171,6 +171,13 @@ test('driver080', normal, run_command,
['
$MAKE -s --no-print-directory test080
'])
cleanall
()
test
('
driver081.1
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory test081.1
'])
cleanall
()
test
('
driver081.2
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory test081.2
'])
cleanall
()
test
('
driver200
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory test200
'])
cleanall
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment