[commit: ghc] master: Mark some TH tests as req_interp (a9b01c0)

git at git.haskell.org git at git.haskell.org
Tue Jun 19 07:17:15 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a9b01c08aab02a8f00cbaf49a99eff0a7b0d19e4/ghc

>---------------------------------------------------------------

commit a9b01c08aab02a8f00cbaf49a99eff0a7b0d19e4
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Tue Jun 19 10:16:54 2018 +0300

    Mark some TH tests as req_interp
    
    - dataToExpQUnit
    - qq005
    - qq006
    - qq007
    - qq008
    - qq009
    - T13949
    - T8025


>---------------------------------------------------------------

a9b01c08aab02a8f00cbaf49a99eff0a7b0d19e4
 libraries/template-haskell/tests/all.T         | 2 +-
 testsuite/tests/quasiquotation/qq005/test.T    | 3 ++-
 testsuite/tests/quasiquotation/qq006/test.T    | 3 ++-
 testsuite/tests/quasiquotation/qq007/test.T    | 3 ++-
 testsuite/tests/quasiquotation/qq008/test.T    | 3 ++-
 testsuite/tests/quasiquotation/qq009/test.T    | 3 ++-
 testsuite/tests/th/should_compile/T13949/all.T | 2 +-
 testsuite/tests/th/should_compile/T8025/all.T  | 2 +-
 8 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/libraries/template-haskell/tests/all.T b/libraries/template-haskell/tests/all.T
index 716742a..1d48d41 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 4e38138..6e7ec8d 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 a76cd70..13e6530 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 edb3554..7e8251a 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 9d83f34..d17ce0d 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 1f108a6..2dfb976 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 193b06f..edd3fe5 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'])
diff --git a/testsuite/tests/th/should_compile/T8025/all.T b/testsuite/tests/th/should_compile/T8025/all.T
index 2eb42ac..4cdf19c 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'])],
+test('T8025', [extra_files(['A.hs', 'B.hs']), omit_ways(['profasm']), req_interp],
 	      multimod_compile, ['A B', '-fno-code -v0'])



More information about the ghc-commits mailing list