Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7973f496
Commit
7973f496
authored
Mar 31, 2009
by
Simon Marlow
Browse files
Disable these tests when profilng
they would need extra magic, like the TH tests
parent
61292cb6
Changes
2
Show whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/annotations/should_compile/all.T
View file @
7973f496
# Annotations were implemented in GHC 6.11 and not supported in other compilers
setTestOpts
(
if_compiler_lt
('
ghc
',
'
6.11
',
skip
));
test
('
ann01
',
normal
,
compile
,
['
-v0
'])
# Annotations, like Template Haskell, require runtime evaluation. In
# order for this to work with profiling, we would have to build the
# program twice and use -osuf p_o (see the TH_splitE5_prof test). For
# now, just disable the profiling ways.
test
('
ann01
',
omit_ways
(['
profc
','
profasm
','
profthreaded
']),
compile
,
['
-v0
'])
""""
Helpful
things
to
C
+
P:
...
...
testsuite/tests/ghc-regress/annotations/should_run/all.T
View file @
7973f496
...
...
@@ -4,9 +4,14 @@ setTestOpts(compose(skip_if_fast, if_compiler_lt('ghc', '6.11', skip)));
runCmd
('
$MAKE -C
'
+
in_testdir
('')
+
'
config
')
# Annotations, like Template Haskell, require runtime evaluation. In
# order for this to work with profiling, we would have to build the
# program twice and use -osuf p_o (see the TH_splitE5_prof test). For
# now, just disable the profiling ways.
test
('
annrun01
',
extra_clean
(['
Annrun01_Help.hi
',
'
Annrun01_Help.o
',
[
extra_clean
(['
Annrun01_Help.hi
',
'
Annrun01_Help.o
',
'
annrun01.hi
',
'
annrun01.o
']),
omit_ways
(['
profc
','
profasm
','
profthreaded
'])],
multimod_compile_and_run
,
['
annrun01
',
'
-package ghc
']
)
...
...
Write
Preview
Supports
Markdown
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