annth_make, annth_compunits: Only run these tests if have_dynamic()
authorJoachim Breitner <mail@joachim-breitner.de>
Mon, 28 Apr 2014 14:14:10 +0000 (16:14 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Mon, 28 Apr 2014 14:14:10 +0000 (16:14 +0200)
testsuite/tests/annotations/should_compile/th/all.T

index 777cf3d..b44a0d5 100644 (file)
@@ -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'])