summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run/all.T
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-15 00:40:47 +0000
committerIan Lynagh <igloo@earth.li>2012-02-16 13:05:34 +0000
commitcdbb35cbaf711367638698b7d22fe4c848c44aef (patch)
treea44d16e4d3fd69ee6ec05f920228bf8a3819f4a7 /testsuite/tests/ffi/should_run/all.T
parent03906d4e36cccaec5e6d73d1afca6bac25d7fa3d (diff)
downloadhaskell-cdbb35cbaf711367638698b7d22fe4c848c44aef.tar.gz
Add a CAPI / CTYPE test (Capi_Ctype_001)
Diffstat (limited to 'testsuite/tests/ffi/should_run/all.T')
-rw-r--r--testsuite/tests/ffi/should_run/all.T8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T
index 118a26fb44..1b61b345bc 100644
--- a/testsuite/tests/ffi/should_run/all.T
+++ b/testsuite/tests/ffi/should_run/all.T
@@ -187,3 +187,11 @@ test('5594', [ omit_ways(['ghci']),
# 5594_stub.h before compiling 5594_c.c, which
# needs it.
compile_and_run, ['5594_c.c -no-hs-main'])
+
+test('Capi_Ctype_001',
+ extra_clean(['Capi_Ctype_A_001.o', 'Capi_Ctype_A_001.hi',
+ 'capi_ctype_001.o',
+ 'Capi_Ctype_A_001.hs', 'Capi_Ctype_001.hs']),
+ run_command,
+ ['$MAKE -s --no-print-directory Capi_Ctype_001'])
+