Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d5520d60
Commit
d5520d60
authored
Oct 18, 2011
by
Simon Marlow
Browse files
use "-osuf p.o" instead of "-osuf p_o", to test
#5554
parent
67918f7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/th/Makefile
View file @
d5520d60
...
...
@@ -12,8 +12,8 @@ T2386:
HC_OPTS
=
-XTemplateHaskell
-package
template-haskell
TH_spliceE5_prof
::
$(RM)
TH_spliceE5_prof
*
.o TH_spliceE5_prof
*
.hi TH_spliceE5_prof
*
.p
_
o
$(RM)
TH_spliceE5_prof
*
.o TH_spliceE5_prof
*
.hi TH_spliceE5_prof
*
.p
.
o
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
$(HC_OPTS)
--make
-v0
TH_spliceE5_prof.hs
-c
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
$(HC_OPTS)
--make
-v0
TH_spliceE5_prof.hs
-prof
-auto-all
-osuf
p
_
o
-o
$@
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
$(HC_OPTS)
--make
-v0
TH_spliceE5_prof.hs
-prof
-auto-all
-osuf
p
.
o
-o
$@
./
$@
testsuite/tests/th/all.T
View file @
d5520d60
...
...
@@ -43,14 +43,14 @@ test('TH_NestedSplices',
# Testing profiling with TH is a bit tricky; we've already disabled
# the prof way above, and also we want to add options specifically for
# profiling (-osuf p
_
o) because this is necessary when mixing
# profiling (-osuf p
.
o) because this is necessary when mixing
# profiling w/ TH. Furthermore we must have built the program the
# normal way first, which is why the work is done by a Makefile rule.
test
('
TH_spliceE5_prof
',
[
req_profiling
,
omit_ways
(['
ghci
']),
extra_clean
(['
TH_spliceE5_prof_Lib.p
_
o
',
'
TH_spliceE5_prof_Lib.hi
',
'
TH_spliceE5_prof_Lib.o
','
TH_spliceE5_prof.p
_
o
'])],
extra_clean
(['
TH_spliceE5_prof_Lib.p
.
o
',
'
TH_spliceE5_prof_Lib.hi
',
'
TH_spliceE5_prof_Lib.o
','
TH_spliceE5_prof.p
.
o
'])],
run_command
,
['
$MAKE -s --no-print-directory TH_spliceE5_prof
'])
...
...
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