diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-01-25 15:21:05 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-01-25 15:21:05 +0000 |
commit | ff813a6ebf7b88931d332451efa5e5c68f5bcfdd (patch) | |
tree | 46fa364841881b4a271a87253f65e37981952ca7 /testsuite/tests/ffi | |
parent | 3d0f4c731741ec4d8c6302f8681fb75e948c65d7 (diff) | |
download | haskell-ff813a6ebf7b88931d332451efa5e5c68f5bcfdd.tar.gz |
Rename some numeric tests: nnnn -> Tnnnn
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r-- | testsuite/tests/ffi/should_compile/T1357.hs (renamed from testsuite/tests/ffi/should_compile/1357.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_compile/T1357.stderr (renamed from testsuite/tests/ffi/should_compile/1357.stderr) | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_compile/T3624.hs (renamed from testsuite/tests/ffi/should_compile/3624.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_compile/T3742.hs (renamed from testsuite/tests/ffi/should_compile/3742.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_compile/all.T | 6 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/7170.stderr | 1 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/Makefile | 16 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288.hs (renamed from testsuite/tests/ffi/should_run/1288.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288.stdout (renamed from testsuite/tests/ffi/should_run/1288.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_c.c (renamed from testsuite/tests/ffi/should_run/1288_c.c) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_ghci.hs (renamed from testsuite/tests/ffi/should_run/1288_ghci.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_ghci.stdout (renamed from testsuite/tests/ffi/should_run/1288_ghci.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_ghci_c.c (renamed from testsuite/tests/ffi/should_run/1288_ghci_c.c) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1679.hs (renamed from testsuite/tests/ffi/should_run/1679.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1679.stdout (renamed from testsuite/tests/ffi/should_run/1679.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276.hs (renamed from testsuite/tests/ffi/should_run/2276.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276.stdout (renamed from testsuite/tests/ffi/should_run/2276.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_c.c (renamed from testsuite/tests/ffi/should_run/2276_c.c) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_ghci.hs (renamed from testsuite/tests/ffi/should_run/2276_ghci.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_ghci.stdout (renamed from testsuite/tests/ffi/should_run/2276_ghci.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_ghci_c.c (renamed from testsuite/tests/ffi/should_run/2276_ghci_c.c) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2469.hs (renamed from testsuite/tests/ffi/should_run/2469.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2594.hs (renamed from testsuite/tests/ffi/should_run/2594.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2594.stdout (renamed from testsuite/tests/ffi/should_run/2594.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2594_c.c (renamed from testsuite/tests/ffi/should_run/2594_c.c) | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2594_c.h (renamed from testsuite/tests/ffi/should_run/2594_c.h) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2917a.hs (renamed from testsuite/tests/ffi/should_run/2917a.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T4038.hs (renamed from testsuite/tests/ffi/should_run/4038.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T4038.stdout (renamed from testsuite/tests/ffi/should_run/4038.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T4221.hs (renamed from testsuite/tests/ffi/should_run/4221.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T4221.stdout (renamed from testsuite/tests/ffi/should_run/4221.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T4221_c.c (renamed from testsuite/tests/ffi/should_run/4221_c.c) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T5402.hs (renamed from testsuite/tests/ffi/should_run/5402.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T5402_main.c (renamed from testsuite/tests/ffi/should_run/5402_main.c) | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T5594.hs (renamed from testsuite/tests/ffi/should_run/5594.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T5594.stdout (renamed from testsuite/tests/ffi/should_run/5594.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T5594_c.c (renamed from testsuite/tests/ffi/should_run/5594_c.c) | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T7170.hs (renamed from testsuite/tests/ffi/should_run/7170.hs) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T7170.stderr | 1 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T7170.stdout (renamed from testsuite/tests/ffi/should_run/7170.stdout) | 0 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/all.T | 96 |
41 files changed, 64 insertions, 64 deletions
diff --git a/testsuite/tests/ffi/should_compile/1357.hs b/testsuite/tests/ffi/should_compile/T1357.hs index 1f5479bc1c..1f5479bc1c 100644 --- a/testsuite/tests/ffi/should_compile/1357.hs +++ b/testsuite/tests/ffi/should_compile/T1357.hs diff --git a/testsuite/tests/ffi/should_compile/1357.stderr b/testsuite/tests/ffi/should_compile/T1357.stderr index cd1cb7031a..6678973fe4 100644 --- a/testsuite/tests/ffi/should_compile/1357.stderr +++ b/testsuite/tests/ffi/should_compile/T1357.stderr @@ -1,3 +1,3 @@ -1357.hs:5:1: +T1357.hs:5:1: Warning: possible missing & in foreign import of FunPtr diff --git a/testsuite/tests/ffi/should_compile/3624.hs b/testsuite/tests/ffi/should_compile/T3624.hs index 8f42efc055..8f42efc055 100644 --- a/testsuite/tests/ffi/should_compile/3624.hs +++ b/testsuite/tests/ffi/should_compile/T3624.hs diff --git a/testsuite/tests/ffi/should_compile/3742.hs b/testsuite/tests/ffi/should_compile/T3742.hs index c16b6009eb..c16b6009eb 100644 --- a/testsuite/tests/ffi/should_compile/3742.hs +++ b/testsuite/tests/ffi/should_compile/T3742.hs diff --git a/testsuite/tests/ffi/should_compile/all.T b/testsuite/tests/ffi/should_compile/all.T index f4b4cdd5cb..99c5eef8f4 100644 --- a/testsuite/tests/ffi/should_compile/all.T +++ b/testsuite/tests/ffi/should_compile/all.T @@ -33,8 +33,8 @@ test('cc013', normal, compile, ['']) test('cc014', normal, compile, ['']) test('ffi-deriv1', normal, compile, ['']) -test('1357', normal, compile, ['']) -test('3624', normal, compile, ['']) -test('3742', normal, compile, ['']) +test('T1357', normal, compile, ['']) +test('T3624', normal, compile, ['']) +test('T3742', normal, compile, ['']) test('cc015', normal, compile, ['']) test('cc016', normal, compile, ['']) diff --git a/testsuite/tests/ffi/should_run/7170.stderr b/testsuite/tests/ffi/should_run/7170.stderr deleted file mode 100644 index 3223f224b7..0000000000 --- a/testsuite/tests/ffi/should_run/7170.stderr +++ /dev/null @@ -1 +0,0 @@ -7170: thread blocked indefinitely in an MVar operation diff --git a/testsuite/tests/ffi/should_run/Makefile b/testsuite/tests/ffi/should_run/Makefile index 80ff28647e..7f846ce53d 100644 --- a/testsuite/tests/ffi/should_run/Makefile +++ b/testsuite/tests/ffi/should_run/Makefile @@ -5,20 +5,20 @@ include $(TOP)/mk/test.mk ffi018_ghci_setup : '$(TEST_HC)' $(TEST_HC_OPTS) -c ffi018_ghci_c.c -1288_ghci_setup : - '$(TEST_HC)' $(TEST_HC_OPTS) -c 1288_ghci_c.c +T1288_ghci_setup : + '$(TEST_HC)' $(TEST_HC_OPTS) -c T1288_ghci_c.c -2276_ghci_setup : - '$(TEST_HC)' $(TEST_HC_OPTS) -c 2276_ghci_c.c +T2276_ghci_setup : + '$(TEST_HC)' $(TEST_HC_OPTS) -c T2276_ghci_c.c ffi002_setup : '$(TEST_HC)' $(TEST_HC_OPTS) -c ffi002.hs -5402_setup : - '$(TEST_HC)' $(TEST_HC_OPTS) -c 5402.hs +T5402_setup : + '$(TEST_HC)' $(TEST_HC_OPTS) -c T5402.hs -5594_setup : - '$(TEST_HC)' $(TEST_HC_OPTS) -c 5594.hs +T5594_setup : + '$(TEST_HC)' $(TEST_HC_OPTS) -c T5594.hs .PHONY: Capi_Ctype_001 Capi_Ctype_001: diff --git a/testsuite/tests/ffi/should_run/1288.hs b/testsuite/tests/ffi/should_run/T1288.hs index 8b3a8f8417..8b3a8f8417 100644 --- a/testsuite/tests/ffi/should_run/1288.hs +++ b/testsuite/tests/ffi/should_run/T1288.hs diff --git a/testsuite/tests/ffi/should_run/1288.stdout b/testsuite/tests/ffi/should_run/T1288.stdout index ef6be0406e..ef6be0406e 100644 --- a/testsuite/tests/ffi/should_run/1288.stdout +++ b/testsuite/tests/ffi/should_run/T1288.stdout diff --git a/testsuite/tests/ffi/should_run/1288_c.c b/testsuite/tests/ffi/should_run/T1288_c.c index f240d29529..f240d29529 100644 --- a/testsuite/tests/ffi/should_run/1288_c.c +++ b/testsuite/tests/ffi/should_run/T1288_c.c diff --git a/testsuite/tests/ffi/should_run/1288_ghci.hs b/testsuite/tests/ffi/should_run/T1288_ghci.hs index 8b3a8f8417..8b3a8f8417 100644 --- a/testsuite/tests/ffi/should_run/1288_ghci.hs +++ b/testsuite/tests/ffi/should_run/T1288_ghci.hs diff --git a/testsuite/tests/ffi/should_run/1288_ghci.stdout b/testsuite/tests/ffi/should_run/T1288_ghci.stdout index ef6be0406e..ef6be0406e 100644 --- a/testsuite/tests/ffi/should_run/1288_ghci.stdout +++ b/testsuite/tests/ffi/should_run/T1288_ghci.stdout diff --git a/testsuite/tests/ffi/should_run/1288_ghci_c.c b/testsuite/tests/ffi/should_run/T1288_ghci_c.c index f240d29529..f240d29529 100644 --- a/testsuite/tests/ffi/should_run/1288_ghci_c.c +++ b/testsuite/tests/ffi/should_run/T1288_ghci_c.c diff --git a/testsuite/tests/ffi/should_run/1679.hs b/testsuite/tests/ffi/should_run/T1679.hs index 15f8630004..15f8630004 100644 --- a/testsuite/tests/ffi/should_run/1679.hs +++ b/testsuite/tests/ffi/should_run/T1679.hs diff --git a/testsuite/tests/ffi/should_run/1679.stdout b/testsuite/tests/ffi/should_run/T1679.stdout index ad2afa7c36..ad2afa7c36 100644 --- a/testsuite/tests/ffi/should_run/1679.stdout +++ b/testsuite/tests/ffi/should_run/T1679.stdout diff --git a/testsuite/tests/ffi/should_run/2276.hs b/testsuite/tests/ffi/should_run/T2276.hs index 0ee1ee91ff..0ee1ee91ff 100644 --- a/testsuite/tests/ffi/should_run/2276.hs +++ b/testsuite/tests/ffi/should_run/T2276.hs diff --git a/testsuite/tests/ffi/should_run/2276.stdout b/testsuite/tests/ffi/should_run/T2276.stdout index ef6be0406e..ef6be0406e 100644 --- a/testsuite/tests/ffi/should_run/2276.stdout +++ b/testsuite/tests/ffi/should_run/T2276.stdout diff --git a/testsuite/tests/ffi/should_run/2276_c.c b/testsuite/tests/ffi/should_run/T2276_c.c index f240d29529..f240d29529 100644 --- a/testsuite/tests/ffi/should_run/2276_c.c +++ b/testsuite/tests/ffi/should_run/T2276_c.c diff --git a/testsuite/tests/ffi/should_run/2276_ghci.hs b/testsuite/tests/ffi/should_run/T2276_ghci.hs index 0ee1ee91ff..0ee1ee91ff 100644 --- a/testsuite/tests/ffi/should_run/2276_ghci.hs +++ b/testsuite/tests/ffi/should_run/T2276_ghci.hs diff --git a/testsuite/tests/ffi/should_run/2276_ghci.stdout b/testsuite/tests/ffi/should_run/T2276_ghci.stdout index ef6be0406e..ef6be0406e 100644 --- a/testsuite/tests/ffi/should_run/2276_ghci.stdout +++ b/testsuite/tests/ffi/should_run/T2276_ghci.stdout diff --git a/testsuite/tests/ffi/should_run/2276_ghci_c.c b/testsuite/tests/ffi/should_run/T2276_ghci_c.c index f240d29529..f240d29529 100644 --- a/testsuite/tests/ffi/should_run/2276_ghci_c.c +++ b/testsuite/tests/ffi/should_run/T2276_ghci_c.c diff --git a/testsuite/tests/ffi/should_run/2469.hs b/testsuite/tests/ffi/should_run/T2469.hs index dc68ad73bf..dc68ad73bf 100644 --- a/testsuite/tests/ffi/should_run/2469.hs +++ b/testsuite/tests/ffi/should_run/T2469.hs diff --git a/testsuite/tests/ffi/should_run/2594.hs b/testsuite/tests/ffi/should_run/T2594.hs index cdfcfc71fd..cdfcfc71fd 100644 --- a/testsuite/tests/ffi/should_run/2594.hs +++ b/testsuite/tests/ffi/should_run/T2594.hs diff --git a/testsuite/tests/ffi/should_run/2594.stdout b/testsuite/tests/ffi/should_run/T2594.stdout index bfb2cfef51..bfb2cfef51 100644 --- a/testsuite/tests/ffi/should_run/2594.stdout +++ b/testsuite/tests/ffi/should_run/T2594.stdout diff --git a/testsuite/tests/ffi/should_run/2594_c.c b/testsuite/tests/ffi/should_run/T2594_c.c index f0dd3007fa..34d633edb7 100644 --- a/testsuite/tests/ffi/should_run/2594_c.c +++ b/testsuite/tests/ffi/should_run/T2594_c.c @@ -1,5 +1,5 @@ -#include "2594_c.h" +#include "T2594_c.h" void call8 (funtype8 fun) { fun(-1); } void call16(funtype16 fun) { fun(-1); } diff --git a/testsuite/tests/ffi/should_run/2594_c.h b/testsuite/tests/ffi/should_run/T2594_c.h index 5847b26662..5847b26662 100644 --- a/testsuite/tests/ffi/should_run/2594_c.h +++ b/testsuite/tests/ffi/should_run/T2594_c.h diff --git a/testsuite/tests/ffi/should_run/2917a.hs b/testsuite/tests/ffi/should_run/T2917a.hs index cdfaabcd2a..cdfaabcd2a 100644 --- a/testsuite/tests/ffi/should_run/2917a.hs +++ b/testsuite/tests/ffi/should_run/T2917a.hs diff --git a/testsuite/tests/ffi/should_run/4038.hs b/testsuite/tests/ffi/should_run/T4038.hs index 621168773a..621168773a 100644 --- a/testsuite/tests/ffi/should_run/4038.hs +++ b/testsuite/tests/ffi/should_run/T4038.hs diff --git a/testsuite/tests/ffi/should_run/4038.stdout b/testsuite/tests/ffi/should_run/T4038.stdout index d81cc0710e..d81cc0710e 100644 --- a/testsuite/tests/ffi/should_run/4038.stdout +++ b/testsuite/tests/ffi/should_run/T4038.stdout diff --git a/testsuite/tests/ffi/should_run/4221.hs b/testsuite/tests/ffi/should_run/T4221.hs index eba782e636..eba782e636 100644 --- a/testsuite/tests/ffi/should_run/4221.hs +++ b/testsuite/tests/ffi/should_run/T4221.hs diff --git a/testsuite/tests/ffi/should_run/4221.stdout b/testsuite/tests/ffi/should_run/T4221.stdout index 237bd7fc81..237bd7fc81 100644 --- a/testsuite/tests/ffi/should_run/4221.stdout +++ b/testsuite/tests/ffi/should_run/T4221.stdout diff --git a/testsuite/tests/ffi/should_run/4221_c.c b/testsuite/tests/ffi/should_run/T4221_c.c index 0c5ca228c1..0c5ca228c1 100644 --- a/testsuite/tests/ffi/should_run/4221_c.c +++ b/testsuite/tests/ffi/should_run/T4221_c.c diff --git a/testsuite/tests/ffi/should_run/5402.hs b/testsuite/tests/ffi/should_run/T5402.hs index 6b20b9fb28..6b20b9fb28 100644 --- a/testsuite/tests/ffi/should_run/5402.hs +++ b/testsuite/tests/ffi/should_run/T5402.hs diff --git a/testsuite/tests/ffi/should_run/5402_main.c b/testsuite/tests/ffi/should_run/T5402_main.c index 6ef2c651a9..efabfbcfa0 100644 --- a/testsuite/tests/ffi/should_run/5402_main.c +++ b/testsuite/tests/ffi/should_run/T5402_main.c @@ -1,7 +1,7 @@ #include "HsFFI.h" #include <stdio.h> #include <stdlib.h> -#include "5402_stub.h" +#include "T5402_stub.h" int main (int argc, char *argv[]) { diff --git a/testsuite/tests/ffi/should_run/5594.hs b/testsuite/tests/ffi/should_run/T5594.hs index 1ec2b87d9c..1ec2b87d9c 100644 --- a/testsuite/tests/ffi/should_run/5594.hs +++ b/testsuite/tests/ffi/should_run/T5594.hs diff --git a/testsuite/tests/ffi/should_run/5594.stdout b/testsuite/tests/ffi/should_run/T5594.stdout index 10ddd6d257..10ddd6d257 100644 --- a/testsuite/tests/ffi/should_run/5594.stdout +++ b/testsuite/tests/ffi/should_run/T5594.stdout diff --git a/testsuite/tests/ffi/should_run/5594_c.c b/testsuite/tests/ffi/should_run/T5594_c.c index 5de1f4d4c6..9ef22e8efd 100644 --- a/testsuite/tests/ffi/should_run/5594_c.c +++ b/testsuite/tests/ffi/should_run/T5594_c.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include "5594_stub.h" +#include "T5594_stub.h" #include "HsFFI.h" diff --git a/testsuite/tests/ffi/should_run/7170.hs b/testsuite/tests/ffi/should_run/T7170.hs index 4dbf65a157..4dbf65a157 100644 --- a/testsuite/tests/ffi/should_run/7170.hs +++ b/testsuite/tests/ffi/should_run/T7170.hs diff --git a/testsuite/tests/ffi/should_run/T7170.stderr b/testsuite/tests/ffi/should_run/T7170.stderr new file mode 100644 index 0000000000..4ea63ebc4e --- /dev/null +++ b/testsuite/tests/ffi/should_run/T7170.stderr @@ -0,0 +1 @@ +T7170: thread blocked indefinitely in an MVar operation diff --git a/testsuite/tests/ffi/should_run/7170.stdout b/testsuite/tests/ffi/should_run/T7170.stdout index 8962a40fe5..8962a40fe5 100644 --- a/testsuite/tests/ffi/should_run/7170.stdout +++ b/testsuite/tests/ffi/should_run/T7170.stdout diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T index e170db0dba..7727492656 100644 --- a/testsuite/tests/ffi/should_run/all.T +++ b/testsuite/tests/ffi/should_run/all.T @@ -116,30 +116,30 @@ test('ffi018_ghci', [ only_ways(['ghci']), test('ffi019', normal, compile_and_run, ['']) # This one originally failed only GHCi, but doesn't hurt to test all ways. -test('1679', normal, compile_and_run, ['']) - -test('1288', [ omit_ways(['ghci']), - extra_clean(['1288_c.o']) ], - compile_and_run, ['1288_c.c']) -test('1288_ghci', [ only_ways(['ghci']), - cmd_prefix('$MAKE --no-print-directory 1288_ghci_setup && '), - extra_clean(['1288_ghci_c.o']) ], - compile_and_run, ['1288_ghci_c.o']) - -test('2276', [ omit_ways(['ghci']), - extra_clean(['2276_c.o']) ], - compile_and_run, ['2276_c.c']) -test('2276_ghci', [ only_ways(['ghci']), - cmd_prefix('$MAKE --no-print-directory 2276_ghci_setup && '), - extra_clean(['2276_ghci_c.o']) ], - compile_and_run, ['-fobject-code 2276_ghci_c.o']) - -test('2469', normal, compile_and_run, ['-optc-std=gnu99']) - -test('2594', - [extra_clean(['2594_c.o']), omit_ways(['ghci'])], +test('T1679', normal, compile_and_run, ['']) + +test('T1288', [ omit_ways(['ghci']), + extra_clean(['T1288_c.o']) ], + compile_and_run, ['T1288_c.c']) +test('T1288_ghci', [ only_ways(['ghci']), + cmd_prefix('$MAKE --no-print-directory T1288_ghci_setup && '), + extra_clean(['T1288_ghci_c.o']) ], + compile_and_run, ['T1288_ghci_c.o']) + +test('T2276', [ omit_ways(['ghci']), + extra_clean(['T2276_c.o']) ], + compile_and_run, ['T2276_c.c']) +test('T2276_ghci', [ only_ways(['ghci']), + cmd_prefix('$MAKE --no-print-directory T2276_ghci_setup && '), + extra_clean(['T2276_ghci_c.o']) ], + compile_and_run, ['-fobject-code T2276_ghci_c.o']) + +test('T2469', normal, compile_and_run, ['-optc-std=gnu99']) + +test('T2594', + [extra_clean(['T2594_c.o']), omit_ways(['ghci'])], compile_and_run, - ['2594_c.c']) + ['T2594_c.c']) test('fptr01', [ omit_ways(['ghci']), extra_clean(['fptr01_c.o']) ], compile_and_run, ['fptr01_c.c']) @@ -149,7 +149,7 @@ test('fptrfail01', [ compose(omit_ways(['ghci']), exit_code(1)), extra_clean(['fptrfail01_c.o']) ], compile_and_run, ['fptrfail01_c.c']) -test('2917a', normal, compile_and_run, ['']) +test('T2917a', normal, compile_and_run, ['']) # omit prof ways, because this test causes the RTS to exit (correctly) # without generating profiling information. @@ -163,30 +163,30 @@ test('ffi022', normal, compile_and_run, ['']) if config.os == 'mingw32': # This test needs a larger C stack than we get by default on Windows - flagsFor4038 = ['-optl-Wl,--stack,10485760'] + flagsForT4038 = ['-optl-Wl,--stack,10485760'] else: - flagsFor4038 = [''] -test('4038', normal, compile_and_run, flagsFor4038) - -test('4221', [ omit_ways(['ghci']), extra_clean(['4221_c.o']) ], - compile_and_run, ['4221_c.c']) - -test('5402', [ omit_ways(['ghci']), - exit_code(42), - extra_clean(['5402_main.o']), - # The 5402_setup hack is to ensure that we generate - # 5402_stub.h before compiling 5402_main.c, which - # needs it. - compile_cmd_prefix('$MAKE --no-print-directory 5402_setup && ') ], - compile_and_run, ["-no-hs-main 5402_main.c"]) - -test('5594', [ omit_ways(['ghci']), - extra_clean(['5594_c.o']), - compile_cmd_prefix('$MAKE --no-print-directory 5594_setup && ') ], - # The 5594_setup hack is to ensure that we generate - # 5594_stub.h before compiling 5594_c.c, which - # needs it. - compile_and_run, ['5594_c.c -no-hs-main']) + flagsForT4038 = [''] +test('T4038', normal, compile_and_run, flagsForT4038) + +test('T4221', [ omit_ways(['ghci']), extra_clean(['T4221_c.o']) ], + compile_and_run, ['T4221_c.c']) + +test('T5402', [ omit_ways(['ghci']), + exit_code(42), + extra_clean(['T5402_main.o']), + # The T5402_setup hack is to ensure that we generate + # T5402_stub.h before compiling T5402_main.c, which + # needs it. + compile_cmd_prefix('$MAKE --no-print-directory T5402_setup && ') ], + compile_and_run, ["-no-hs-main T5402_main.c"]) + +test('T5594', [ omit_ways(['ghci']), + extra_clean(['T5594_c.o']), + compile_cmd_prefix('$MAKE --no-print-directory T5594_setup && ') ], + # The T5594_setup hack is to ensure that we generate + # T5594_stub.h before compiling T5594_c.c, which + # needs it. + compile_and_run, ['T5594_c.c -no-hs-main']) test('Capi_Ctype_001', extra_clean(['Capi_Ctype_A_001.o', 'Capi_Ctype_A_001.hi', @@ -211,7 +211,7 @@ test('capi_value', compile_and_run, ['capi_value_c.c']) -test('7170', exit_code(1), compile_and_run, ['']) +test('T7170', exit_code(1), compile_and_run, ['']) test('T4012', [extra_clean(['T4012_A.hi', 'T4012_A.o', 'T4012_B.hi', 'T4012_B.o']), |