Skip T2276_ghci on Darwin, since stdcall is not supported.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 29 Dec 2014 16:36:21 +0000 (11:36 -0500)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 29 Dec 2014 16:36:21 +0000 (11:36 -0500)
Summary: Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: validate

Reviewers: austin, erikd

Reviewed By: erikd

Subscribers: erikd, carter, thomie

Differential Revision: https://phabricator.haskell.org/D588

testsuite/tests/ffi/should_run/all.T

index 0352f31..cf785f1 100644 (file)
@@ -115,6 +115,7 @@ test('T2276', [ omit_ways(['ghci']),
                 extra_clean(['T2276_c.o']) ],
               compile_and_run, ['T2276_c.c'])
 test('T2276_ghci', [ only_ways(['ghci']),
+                     when(opsys('darwin'), skip), # stdcall not supported on OS X
                      pre_cmd('$MAKE -s --no-print-directory T2276_ghci_setup'),
                      extra_clean(['T2276_ghci_c.o']) ],
                    compile_and_run, ['-fobject-code T2276_ghci_c.o'])