Merge branch 'jn/web' into next
[gitweb.git] / contrib / git-svn / Makefile
index d7f1643bf77b764a894f937dc5a339bd53c5dc05..7c209469438bcef2a5cee0988448a41a56ec30cc 100644 (file)
@@ -28,8 +28,17 @@ git-svn.xml : git-svn.txt
 git-svn.html : git-svn.txt
        asciidoc -b xhtml11 -d manpage \
                -f ../../Documentation/asciidoc.conf $<
-test:
-       cd t && $(SHELL) ./t0000-contrib-git-svn.sh
+test: git-svn
+       cd t && for i in t????-*.sh; do $(SHELL) ./$$i $(TEST_FLAGS); done
+
+# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
+full-test:
+       $(MAKE) test GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
+       $(MAKE) test GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
+       $(MAKE) test GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
+                                                       LC_ALL=en_US.UTF-8
+       $(MAKE) test GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
+                                                       LC_ALL=en_US.UTF-8
 
 clean:
        rm -f git-svn *.xml *.html *.1