summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-06-19 10:16:54 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-06-19 10:16:54 +0300
commita9b01c08aab02a8f00cbaf49a99eff0a7b0d19e4 (patch)
tree4dbe841bd6518a7a5ff2cd3d044b1fca76c2762e
parentde692fd54a000fab2e5787b63b9b6c62168ef4d5 (diff)
downloadhaskell-a9b01c08aab02a8f00cbaf49a99eff0a7b0d19e4.tar.gz
Mark some TH tests as req_interp
- dataToExpQUnit - qq005 - qq006 - qq007 - qq008 - qq009 - T13949 - T8025
-rw-r--r--libraries/template-haskell/tests/all.T2
-rw-r--r--testsuite/tests/quasiquotation/qq005/test.T3
-rw-r--r--testsuite/tests/quasiquotation/qq006/test.T3
-rw-r--r--testsuite/tests/quasiquotation/qq007/test.T3
-rw-r--r--testsuite/tests/quasiquotation/qq008/test.T3
-rw-r--r--testsuite/tests/quasiquotation/qq009/test.T3
-rw-r--r--testsuite/tests/th/should_compile/T13949/all.T4
-rw-r--r--testsuite/tests/th/should_compile/T8025/all.T4
8 files changed, 15 insertions, 10 deletions
diff --git a/libraries/template-haskell/tests/all.T b/libraries/template-haskell/tests/all.T
index 716742a20c..1d48d411d0 100644
--- a/libraries/template-haskell/tests/all.T
+++ b/libraries/template-haskell/tests/all.T
@@ -1,2 +1,2 @@
# 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'])
diff --git a/testsuite/tests/quasiquotation/qq005/test.T b/testsuite/tests/quasiquotation/qq005/test.T
index 4e381380a8..6e7ec8d14c 100644
--- a/testsuite/tests/quasiquotation/qq005/test.T
+++ b/testsuite/tests/quasiquotation/qq005/test.T
@@ -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', ''])
diff --git a/testsuite/tests/quasiquotation/qq006/test.T b/testsuite/tests/quasiquotation/qq006/test.T
index a76cd7064f..13e6530753 100644
--- a/testsuite/tests/quasiquotation/qq006/test.T
+++ b/testsuite/tests/quasiquotation/qq006/test.T
@@ -1,3 +1,4 @@
test('qq006', [extra_files(['Expr.hs', 'Main.hs']),
- when(fast(), skip)], multimod_compile_fail,
+ when(fast(), skip),
+ req_interp], multimod_compile_fail,
['Main', '-v0'])
diff --git a/testsuite/tests/quasiquotation/qq007/test.T b/testsuite/tests/quasiquotation/qq007/test.T
index edb3554190..7e8251a657 100644
--- a/testsuite/tests/quasiquotation/qq007/test.T
+++ b/testsuite/tests/quasiquotation/qq007/test.T
@@ -1,5 +1,6 @@
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])
diff --git a/testsuite/tests/quasiquotation/qq008/test.T b/testsuite/tests/quasiquotation/qq008/test.T
index 9d83f34907..d17ce0deb5 100644
--- a/testsuite/tests/quasiquotation/qq008/test.T
+++ b/testsuite/tests/quasiquotation/qq008/test.T
@@ -1,5 +1,6 @@
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])
diff --git a/testsuite/tests/quasiquotation/qq009/test.T b/testsuite/tests/quasiquotation/qq009/test.T
index 1f108a626e..2dfb976298 100644
--- a/testsuite/tests/quasiquotation/qq009/test.T
+++ b/testsuite/tests/quasiquotation/qq009/test.T
@@ -1,5 +1,6 @@
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])
diff --git a/testsuite/tests/th/should_compile/T13949/all.T b/testsuite/tests/th/should_compile/T13949/all.T
index 193b06f67d..edd3fe5c9f 100644
--- a/testsuite/tests/th/should_compile/T13949/all.T
+++ b/testsuite/tests/th/should_compile/T13949/all.T
@@ -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'])
diff --git a/testsuite/tests/th/should_compile/T8025/all.T b/testsuite/tests/th/should_compile/T8025/all.T
index 2eb42ac740..4cdf19cae8 100644
--- a/testsuite/tests/th/should_compile/T8025/all.T
+++ b/testsuite/tests/th/should_compile/T8025/all.T
@@ -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'])