[commit: ghc] master: testsuite: Skip ffi018_ghci when unregisterised (7bfc1e8)

git at git.haskell.org git at git.haskell.org
Tue Dec 25 16:17:59 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7bfc1e81377d1e37069cf52bd090530124dcd871/ghc

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

commit 7bfc1e81377d1e37069cf52bd090530124dcd871
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.


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

7bfc1e81377d1e37069cf52bd090530124dcd871
 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 7255c91..3a3dfd7 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