Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
001455ac
Commit
001455ac
authored
Oct 11, 2011
by
dterei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have multi[src,mod] test ways clean up after themselves.
parent
eb9accfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
testsuite/driver/testlib.py
testsuite/driver/testlib.py
+6
-0
No files found.
testsuite/driver/testlib.py
View file @
001455ac
...
...
@@ -593,6 +593,12 @@ def test_common_work (name, opts, func, args):
'_stub.h'
,
'_stub.c'
,
'_stub.o'
,
'.hp'
,
'.exe.hp'
,
'.ps'
,
'.aux'
,
'.hcr'
,
'.eventlog'
]))
if
func
==
multisrc_compile
or
func
==
multisrc_compile_fail
\
or
func
==
multi_compile
or
func
==
multi_compile_fail
:
extra_mods
=
args
[
1
]
clean
(
map
(
lambda
(
f
,
x
):
replace_suffix
(
f
,
'o'
),
extra_mods
))
clean
(
map
(
lambda
(
f
,
x
):
replace_suffix
(
f
,
'hi'
),
extra_mods
))
clean
(
getTestOpts
().
clean_files
)
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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