r111837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111836‎ | r111837 | r111838 >
Date:17:28, 18 February 2012
Author:au
Status:ok
Tags:
Comment:
* Add a "make test" target that auto-fetches parserTests.txt.
Modified paths:
  • /trunk/extensions/VisualEditor/tests/parser/Makefile (added) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/tests/parser/Makefile
@@ -0,0 +1,8 @@
 2+test :: parserTests.txt
 3+ node ./parserTests.js --cache parserTests.txt
 4+
 5+TESTS_URL = http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/tests/parser/parserTests.txt
 6+parserTests.txt ::
 7+ -if [ ! -e parserTests.txt ] ; then curl -O $(TESTS_URL) || wget $(TESTS_URL) ; fi
 8+
 9+.PHONY: test

Status & tagging log