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
c631662a
Commit
c631662a
authored
Jul 19, 2007
by
Ian Lynagh
Browse files
Add a test for trac #1322 (ghc --make recompiles hs-boot files unnecessarily)
parent
ac121a7a
Changes
6
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/driver/recomp002/Makefile
0 → 100644
View file @
c631662a
TOP
=
../../../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
# Recompilation tests
clean
:
@
rm
-f
*
.o
*
@
rm
-f
*
.hi
*
# Only the first invocation should print any "Compiling" messages
recomp002
:
clean
@
$(TEST_HC)
--make
Q.hs
@
echo
Middle
>
&2
@
$(TEST_HC)
--make
Q.hs
testsuite/tests/ghc-regress/driver/recomp002/Q.hs
0 → 100644
View file @
c631662a
module
Q
where
import
{-#
SOURCE
#-
}
W
testsuite/tests/ghc-regress/driver/recomp002/W.hs
0 → 100644
View file @
c631662a
module
W
where
import
Q
testsuite/tests/ghc-regress/driver/recomp002/W.hs-boot
0 → 100644
View file @
c631662a
module
W
where
testsuite/tests/ghc-regress/driver/recomp002/all.T
0 → 100644
View file @
c631662a
test
('
recomp002
',
skip_if_fast
,
run_command
,
['
$MAKE -s --no-print-directory recomp002
'])
if
default_testopts
.
cleanup
!=
'':
runCmd
('
$MAKE -C
'
+
in_testdir
('')
+
'
clean
')
testsuite/tests/ghc-regress/driver/recomp002/recomp002.stderr
0 → 100644
View file @
c631662a
[1 of 3] Compiling W[boot] ( W.hs-boot, W.o-boot )
[2 of 3] Compiling Q ( Q.hs, Q.o )
[3 of 3] Compiling W ( W.hs, W.o )
Middle
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