summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-20 23:46:13 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-30 10:06:31 -0500
commit513a449c9dd10887d6dc757d55286749b2594b09 (patch)
tree2c7e4be10c5b676885932789457f64738748db2e /testsuite/tests/ffi/should_run
parentbdb559a60a18318b6130f399f158739118237f9b (diff)
downloadhaskell-513a449c9dd10887d6dc757d55286749b2594b09.tar.gz
testsuite: Use makefile_test
This eliminates most uses of run_command in the testsuite in favor of the more structured makefile_test.
Diffstat (limited to 'testsuite/tests/ffi/should_run')
-rw-r--r--testsuite/tests/ffi/should_run/all.T8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T
index 5bc1ab27e1..e9ea97586e 100644
--- a/testsuite/tests/ffi/should_run/all.T
+++ b/testsuite/tests/ffi/should_run/all.T
@@ -160,11 +160,11 @@ test('T5594', [ omit_ways(['ghci']),
# needs it.
compile_and_run, ['T5594_c.c -no-hs-main'])
-test('Capi_Ctype_001', [extra_files(['Capi_Ctype_A_001.hsc', 'capi_ctype_001.h', 'capi_ctype_001_c.c'])], run_command,
- ['$MAKE -s --no-print-directory Capi_Ctype_001'])
+test('Capi_Ctype_001', [extra_files(['Capi_Ctype_A_001.hsc', 'capi_ctype_001.h', 'capi_ctype_001_c.c'])],
+ makefile_test, ['Capi_Ctype_001'])
-test('Capi_Ctype_002', [extra_files(['Capi_Ctype_A_002.hsc', 'capi_ctype_002_A.h', 'capi_ctype_002_B.h'])], run_command,
- ['$MAKE -s --no-print-directory Capi_Ctype_002'])
+test('Capi_Ctype_002', [extra_files(['Capi_Ctype_A_002.hsc', 'capi_ctype_002_A.h', 'capi_ctype_002_B.h'])],
+ makefile_test, ['Capi_Ctype_002'])
test('ffi_parsing_001', [omit_ways(['ghci'])], compile_and_run,
['ffi_parsing_001_c.c'])