I have been struggling to figure out how to run the parser tests. From the very 
limited documentation in the code, it appears you are supposed to run them from 
a terminal. However, when I cd to the maintenance directory and type "php 
parserTests.php" I get the following error message.

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' 
or `'}'' in /Users/dnessett/Sites/Mediawiki/maintenance/parserTests.inc on line 
43

Either there is some setup necessary that I haven't done; parserTests.php is 
not the appropriate "top-level" target for the execution; you are not supposed 
to run these tests from the terminal; or there is something else I am doing 
wrong.

I tried to find documentation on how to run the tests without success. If I 
simply haven't looked in the right place, a quick pointer to the appropriate 
instructions would be great. Otherwise, I wonder if someone could instruct me 
how to run them.

Thanks,

Dan


      

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to