From: Don Slutz Date: Wed, 13 May 2009 19:35:48 GMT Subject: [PATCH v2 7/7] Add 'make test-text' core.autocrlf=true Message-ID: <1242243348-6690-8-git-send-email-Don.Slutz@SierraAtlantic.com> In-Reply-To: <1242243348-6690-7-git-send-email-Don.Slutz@SierraAtlantic.com> This will test with core.autocrlf=true by default and test using a text mount in CYGWIN Signed-off-by: Don Slutz --- Makefile | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 6e21643..2d85972 100644 --- a/Makefile +++ b/Makefile @@ -1482,6 +1482,17 @@ export NO_SVN_TESTS test: all $(MAKE) -C t/ all +test-text: all + @echo Test core.autocrlf=true +ifeq ($(uname_O),Cygwin) + @echo Test text mode mount + mount -f -u -t $(shell sh -c 'cygpath -m -a t') $(shell sh -c 'cygpath -u -a t') + GIT_TEST_AUTO_CRLF=$${GIT_TEST_AUTO_CRLF:-true} $(MAKE) -C t/ all + umount -u $(shell sh -c 'cygpath -u -a t') +else + GIT_TEST_AUTO_CRLF=$${GIT_TEST_AUTO_CRLF:-true} $(MAKE) -C t/ all +endif + test-ctype$X: ctype.o test-date$X: date.o ctype.o -- 1.6.3.15.g49878