Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alfredo Di Napoli
GHC
Commits
a9b01c08
Commit
a9b01c08
authored
Jun 19, 2018
by
Ömer Sinan Ağacan
Browse files
Mark some TH tests as req_interp
- dataToExpQUnit - qq005 - qq006 - qq007 - qq008 - qq009 - T13949 - T8025
parent
de692fd5
Changes
8
Hide whitespace changes
Inline
Side-by-side
libraries/template-haskell/tests/all.T
View file @
a9b01c08
# difficult to test TH with profiling, because we have to build twice
test
('
dataToExpQUnit
',
omit_ways
(
prof_ways
),
compile
,
['
-v0
'])
test
('
dataToExpQUnit
',
[
omit_ways
(
prof_ways
),
req_interp
],
compile
,
['
-v0
'])
testsuite/tests/quasiquotation/qq005/test.T
View file @
a9b01c08
...
...
@@ -5,6 +5,7 @@ test('qq005',
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways
(
prof_ways
),
extra_clean
(['
Expr.hi
',
'
Expr.o
',
'
Main.hi
',
'
Main.o
'])],
extra_clean
(['
Expr.hi
',
'
Expr.o
',
'
Main.hi
',
'
Main.o
']),
req_interp
],
multimod_compile_and_run
,
['
Main
',
''])
testsuite/tests/quasiquotation/qq006/test.T
View file @
a9b01c08
test
('
qq006
',
[
extra_files
(['
Expr.hs
',
'
Main.hs
']),
when
(
fast
(),
skip
)],
multimod_compile_fail
,
when
(
fast
(),
skip
),
req_interp
],
multimod_compile_fail
,
['
Main
',
'
-v0
'])
testsuite/tests/quasiquotation/qq007/test.T
View file @
a9b01c08
test
('
qq007
',
[
extra_files
(['
QQ.hs
',
'
Test.hs
']),
when
(
fast
(),
skip
),
pre_cmd
('
$MAKE -s --no-print-directory TH_QQ
'),
omit_ways
(
prof_ways
)],
omit_ways
(
prof_ways
),
req_interp
],
multimod_compile
,
['
Test
',
'
-v0
'
+
config
.
ghc_th_way_flags
])
testsuite/tests/quasiquotation/qq008/test.T
View file @
a9b01c08
test
('
qq008
',
[
extra_files
(['
QQ.hs
',
'
Test.hs
']),
when
(
fast
(),
skip
),
pre_cmd
('
$MAKE -s --no-print-directory TH_QQ
'),
omit_ways
(
prof_ways
)],
omit_ways
(
prof_ways
),
req_interp
],
multimod_compile
,
['
Test
',
'
-v0
'
+
config
.
ghc_th_way_flags
])
testsuite/tests/quasiquotation/qq009/test.T
View file @
a9b01c08
test
('
qq009
',
[
extra_files
(['
QQ.hs
',
'
Test.hs
']),
when
(
fast
(),
skip
),
pre_cmd
('
$MAKE -s --no-print-directory TH_QQ
'),
omit_ways
(
prof_ways
)],
omit_ways
(
prof_ways
),
req_interp
],
multimod_compile
,
['
Test
',
'
-v0
'
+
config
.
ghc_th_way_flags
])
testsuite/tests/th/should_compile/T13949/all.T
View file @
a9b01c08
...
...
@@ -7,6 +7,6 @@
# (1) Use -fexternal-interpreter, or
# (2) Build the program twice: once with -dynamic, and then
# with -prof using -osuf to set a different object file suffix.
test
('
T13949
',
[
extra_files
(['
ASCII.hs
',
'
PatternGenerator.hs
',
'
These.hs
',
'
Tree.hs
']),
test
('
T13949
',
[
extra_files
(['
ASCII.hs
',
'
PatternGenerator.hs
',
'
These.hs
',
'
Tree.hs
']),
req_interp
,
omit_ways
(['
profasm
'])],
multimod_compile
,
['
ASCII PatternGenerator These Tree
',
'
-fno-code -v0
'])
\ No newline at end of file
multimod_compile
,
['
ASCII PatternGenerator These Tree
',
'
-fno-code -v0
'])
testsuite/tests/th/should_compile/T8025/all.T
View file @
a9b01c08
...
...
@@ -5,5 +5,5 @@
# (1) Use -fexternal-interpreter, or
# (2) Build the program twice: once with -dynamic, and then
# with -prof using -osuf to set a different object file suffix.
test
('
T8025
',
[
extra_files
(['
A.hs
',
'
B.hs
']),
omit_ways
(['
profasm
'])],
multimod_compile
,
['
A B
',
'
-fno-code -v0
'])
\ No newline at end of file
test
('
T8025
',
[
extra_files
(['
A.hs
',
'
B.hs
']),
omit_ways
(['
profasm
']),
req_interp
],
multimod_compile
,
['
A B
',
'
-fno-code -v0
'])
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