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
7973f496
Commit
7973f496
authored
Mar 31, 2009
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable these tests when profilng
they would need extra magic, like the TH tests
parent
61292cb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
testsuite/tests/ghc-regress/annotations/should_compile/all.T
testsuite/tests/ghc-regress/annotations/should_compile/all.T
+6
-2
testsuite/tests/ghc-regress/annotations/should_run/all.T
testsuite/tests/ghc-regress/annotations/should_run/all.T
+7
-2
No files found.
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:
...
...
@@ -15,4 +19,4 @@ test('', extra_clean(['.hi', '.o']),
test
('',
extra_clean
(['
.hi
',
'
.o
']),
multimod_compile
,
['',
'
-v0
'])
"""
\ No newline at end of file
"""
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
']
)
...
...
@@ -26,4 +31,4 @@ test('', extra_clean(['.hi', '.o']),
test
('',
extra_clean
(['
.hi
',
'
.o
']),
multimod_compile
,
['',
'
-v0
'])
"""
\ No newline at end of file
"""
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