[commit: testsuite] master: Fix Capi_Ctype_001 on case-sensitive filesystems (cbf0af0)
Ian Lynagh
igloo at earth.li
Tue Feb 21 16:58:03 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/cbf0af0c00a1fb82716634ab75a15e302a34256a
>---------------------------------------------------------------
commit cbf0af0c00a1fb82716634ab75a15e302a34256a
Author: Ian Lynagh <igloo at earth.li>
Date: Tue Feb 21 15:46:03 2012 +0000
Fix Capi_Ctype_001 on case-sensitive filesystems
>---------------------------------------------------------------
tests/ffi/should_run/Makefile | 4 ++--
tests/ffi/should_run/all.T | 2 +-
.../{capi_ctype_001.c => capi_ctype_001_c.c} | 0
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/ffi/should_run/Makefile b/tests/ffi/should_run/Makefile
index 25a8db9..80ff286 100644
--- a/tests/ffi/should_run/Makefile
+++ b/tests/ffi/should_run/Makefile
@@ -24,10 +24,10 @@ ffi002_setup :
Capi_Ctype_001:
'$(HSC2HS)' Capi_Ctype_A_001.hsc
'$(HSC2HS)' Capi_Ctype_001.hsc
- '$(TEST_HC)' $(TEST_HC_OPTS) -c capi_ctype_001.c
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c capi_ctype_001_c.c
'$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_A_001.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_001.hs
- '$(TEST_HC)' $(TEST_HC_OPTS) capi_ctype_001.o Capi_Ctype_A_001.o Capi_Ctype_001.o -o Capi_Ctype_001
+ '$(TEST_HC)' $(TEST_HC_OPTS) capi_ctype_001_c.o Capi_Ctype_A_001.o Capi_Ctype_001.o -o Capi_Ctype_001
./Capi_Ctype_001
.PHONY: Capi_Ctype_002
diff --git a/tests/ffi/should_run/all.T b/tests/ffi/should_run/all.T
index e24472c..83fe614 100644
--- a/tests/ffi/should_run/all.T
+++ b/tests/ffi/should_run/all.T
@@ -190,7 +190,7 @@ test('5594', [ omit_ways(['ghci']),
test('Capi_Ctype_001',
extra_clean(['Capi_Ctype_A_001.o', 'Capi_Ctype_A_001.hi',
- 'capi_ctype_001.o',
+ 'capi_ctype_001_c.o',
'Capi_Ctype_A_001.hs', 'Capi_Ctype_001.hs']),
run_command,
['$MAKE -s --no-print-directory Capi_Ctype_001'])
diff --git a/tests/ffi/should_run/capi_ctype_001.c b/tests/ffi/should_run/capi_ctype_001_c.c
similarity index 100%
rename from tests/ffi/should_run/capi_ctype_001.c
rename to tests/ffi/should_run/capi_ctype_001_c.c
More information about the Cvs-ghc
mailing list