* Get parser tests from GitWeb, not Subversion.

Change-Id: I39f933b9e0320dc62736da07ce097ec1badec9aa
This commit is contained in:
Audrey Tang 2012-03-28 23:39:01 +08:00
parent 7a726b0278
commit d3602bb459

View file

@ -5,9 +5,9 @@ all :: $(COFFEE)
test :: parserTests.txt all
node ./parserTests.js --cache parserTests.txt
TESTS_URL = http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/tests/parser/parserTests.txt
TESTS_URL = https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob_plain;hb=HEAD;f=tests/parser/parserTests.txt
parserTests.txt ::
-if [ ! -e parserTests.txt ] ; then curl -O $(TESTS_URL) || wget $(TESTS_URL) ; fi
-if [ ! -e parserTests.txt ] ; then curl -O "$(TESTS_URL)" || wget -O parserTests.txt "$(TESTS_URL)" ; fi
.PHONY: test all