https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111837
Revision: 111837
Author: au
Date: 2012-02-18 17:28:46 +0000 (Sat, 18 Feb 2012)
Log Message:
-----------
* Add a "make test" target that auto-fetches parserTests.txt.
Added Paths:
-----------
trunk/extensions/VisualEditor/tests/parser/Makefile
Added: trunk/extensions/VisualEditor/tests/parser/Makefile
===================================================================
--- trunk/extensions/VisualEditor/tests/parser/Makefile
(rev 0)
+++ trunk/extensions/VisualEditor/tests/parser/Makefile 2012-02-18 17:28:46 UTC
(rev 111837)
@@ -0,0 +1,8 @@
+test :: parserTests.txt
+ node ./parserTests.js --cache parserTests.txt
+
+TESTS_URL =
http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/tests/parser/parserTests.txt
+parserTests.txt ::
+ -if [ ! -e parserTests.txt ] ; then curl -O $(TESTS_URL) || wget
$(TESTS_URL) ; fi
+
+.PHONY: test
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs