[commit: ghc] ghc-7.10: Run T9762 only if dynamic libraries are available (62a6d14)

git at git.haskell.org git at git.haskell.org
Sat Dec 27 18:12:28 UTC 2014


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/62a6d14be0076da0adb3524e5ef70352beb4ee13/ghc

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

commit 62a6d14be0076da0adb3524e5ef70352beb4ee13
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Dec 27 16:01:54 2014 +0100

    Run T9762 only if dynamic libraries are available
    
    (cherry picked from commit 1dcef98a77afa0f9dc73896b8d8cc7444e2e0039)


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

62a6d14be0076da0adb3524e5ef70352beb4ee13
 testsuite/tests/ghci/scripts/all.T | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index c8462c1..3e2ea77 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -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'])



More information about the ghc-commits mailing list