[commit: ghc] wip/ghc-8.6-backports: testsuite: Skip ffi018_ghci when unregisterised (8b043e8)

git at git.haskell.org git at git.haskell.org
Mon Jan 7 17:18:44 UTC 2019


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

On branch  : wip/ghc-8.6-backports
Link       : http://ghc.haskell.org/trac/ghc/changeset/8b043e883f00e276b435324be5689e6b5e2de81e/ghc

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

commit 8b043e883f00e276b435324be5689e6b5e2de81e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Dec 25 05:03:21 2018 -0500

    testsuite: Skip ffi018_ghci when unregisterised
    
    As noted in #16085 this test is fragile in unregisterised compilers.
    
    (cherry picked from commit 7bfc1e81377d1e37069cf52bd090530124dcd871)


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

8b043e883f00e276b435324be5689e6b5e2de81e
 testsuite/tests/ffi/should_run/all.T | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T
index fd0af7e..bcb06c8 100644
--- a/testsuite/tests/ffi/should_run/all.T
+++ b/testsuite/tests/ffi/should_run/all.T
@@ -87,6 +87,8 @@ test('ffi018', [omit_ways(['ghci'])], compile_and_run, ['ffi018_c.c'])
 test('ffi018_ghci',
      [extra_files(['ffi018.h']),
       only_ways(['ghci']),
+      # This test is fragile when unregisterised; see #16085
+      when(unregisterised(), skip),
       pre_cmd('$MAKE -s --no-print-directory ffi018_ghci_setup')],
      compile_and_run, ['ffi018_ghci_c.o'])
 



More information about the ghc-commits mailing list