[commit: ghc] wip/ghc-8.8-merges: testsuite: Skip ghcilink002 when unregisterised (5be8b78)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:09:37 UTC 2019


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

On branch  : wip/ghc-8.8-merges
Link       : http://ghc.haskell.org/trac/ghc/changeset/5be8b78b1792db56e630ac82ea26d330fb0acbae/ghc

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

commit 5be8b78b1792db56e630ac82ea26d330fb0acbae
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Jan 22 18:40:36 2019 -0500

    testsuite: Skip ghcilink002 when unregisterised
    
    See #16085.


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

5be8b78b1792db56e630ac82ea26d330fb0acbae
 testsuite/tests/ghci/linking/all.T | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuite/tests/ghci/linking/all.T b/testsuite/tests/ghci/linking/all.T
index 4f12d27..d5ee2ff 100644
--- a/testsuite/tests/ghci/linking/all.T
+++ b/testsuite/tests/ghci/linking/all.T
@@ -7,6 +7,8 @@ test('ghcilink001',
      ['$MAKE -s --no-print-directory ghcilink001'])
 
 test('ghcilink002', [extra_files(['TestLink.hs', 'f.c']),
+                     # Fragile when unregisterised; see #16085
+                     when(unregisterised(), skip),
                      unless(doing_ghci, skip)], run_command,
      ['$MAKE -s --no-print-directory ghcilink002'])
 



More information about the ghc-commits mailing list