Run T9762 only if dynamic libraries are available
authorJoachim Breitner <mail@joachim-breitner.de>
Sat, 27 Dec 2014 15:01:54 +0000 (16:01 +0100)
committerJoachim Breitner <mail@joachim-breitner.de>
Sat, 27 Dec 2014 15:01:54 +0000 (16:01 +0100)
testsuite/tests/ghci/scripts/all.T

index c8462c1..3e2ea77 100755 (executable)
@@ -193,6 +193,9 @@ test('T9086b', normal, ghci_script, ['T9086b.script'])
 test('T9140', combined_output, ghci_script, ['T9140.script'])
 test('T9658', normal, ghci_script, ['T9658.script'])
 test('T9293', normal, ghci_script_without_flag('-fno-warn-tabs'), ['T9293.script'])
-test('T9762', [pre_cmd('$MAKE -s --no-print-directory T9762_prep')],
-     ghci_script, ['T9762.script'])
+test('T9762',
+ [ unless(have_dynamic(),skip)
+ , pre_cmd('$MAKE -s --no-print-directory T9762_prep')
+ ],
+ ghci_script, ['T9762.script'])
 test('T9881', normal, ghci_script, ['T9881.script'])