[commit: ghc] master: annth_make, annth_compunits: Only run these tests if have_dynamic() (0fe7268)

git at git.haskell.org git at git.haskell.org
Mon Apr 28 14:14:19 UTC 2014


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

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

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

commit 0fe726829d468badf830dd82bc296832d709733b
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()


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

0fe726829d468badf830dd82bc296832d709733b
 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