[commit: ghc] ghc-7.8: annth_make, annth_compunits: Only run these tests if have_dynamic() (aede2d6)

git at git.haskell.org git at git.haskell.org
Tue Jun 3 14:59:26 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/aede2d6bbc168724409267c3e08887f7289d22be/ghc

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

commit aede2d6bbc168724409267c3e08887f7289d22be
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Apr 28 16:14:10 2014 +0200

    annth_make, annth_compunits: Only run these tests if have_dynamic()


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

aede2d6bbc168724409267c3e08887f7289d22be
 testsuite/tests/annotations/should_compile/th/all.T | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/annotations/should_compile/th/all.T b/testsuite/tests/annotations/should_compile/th/all.T
index 777cf3d..b44a0d5 100644
--- a/testsuite/tests/annotations/should_compile/th/all.T
+++ b/testsuite/tests/annotations/should_compile/th/all.T
@@ -6,13 +6,17 @@ setTestOpts(when(compiler_profiled(), skip))
 # now, just disable the profiling ways.
 
 test('annth_make',
-     [req_interp, omit_ways(['profasm','profthreaded']),
+     [req_interp,
+      omit_ways(['profasm','profthreaded']),
+      unless(have_dynamic(),skip),
       clean_cmd('$MAKE -s clean_annth_make')],
      run_command,
      ['$MAKE -s --no-print-directory annth_make'])
 
 test('annth_compunits',
-     [req_interp, omit_ways(['profasm','profthreaded']),
+     [req_interp,
+      omit_ways(['profasm','profthreaded']),
+      unless(have_dynamic(),skip),
       clean_cmd('$MAKE -s clean_annth_compunits')],
      run_command,
      ['$MAKE -s --no-print-directory annth_compunits'])



More information about the ghc-commits mailing list