[commit: ghc] master: Skip path_with_commas when dyn unavailable (90e83a7)

git at git.haskell.org git at git.haskell.org
Tue Jan 24 14:46:22 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/90e83a7cbdccfeee86b02b7fe2f81b0485857f6e/ghc

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

commit 90e83a7cbdccfeee86b02b7fe2f81b0485857f6e
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Tue Jan 24 06:45:54 2017 -0800

    Skip path_with_commas when dyn unavailable
    
    RyanGlScott reported a failure:
    ```
    Could not find module 'Prelude'; Perhaps you haven't
    installed the "dyn" libraries for package ‘base-4.10.0.0’?
    ```
    This might fix it.
    
    Test Plan: harbormaster
    
    Reviewers: austin, bgamari, thomie, RyanGlScott
    
    Reviewed By: RyanGlScott
    
    Subscribers: thomie, simonmar
    
    Differential Revision: https://phabricator.haskell.org/D3013


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

90e83a7cbdccfeee86b02b7fe2f81b0485857f6e
 testsuite/tests/th/TH_linker/all.T | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/th/TH_linker/all.T b/testsuite/tests/th/TH_linker/all.T
index 8feac99..9d3f1e3 100644
--- a/testsuite/tests/th/TH_linker/all.T
+++ b/testsuite/tests/th/TH_linker/all.T
@@ -1,4 +1,5 @@
 test('path_with_commas',
-     ignore_stderr,
+     [ignore_stderr,
+      unless(have_dynamic(),skip)],
      run_command,
      ['$MAKE -s --no-print-directory path_with_commas'])



More information about the ghc-commits mailing list