8045afd81b
wp-tests-config.php can/should reside in the root of a develop checkout. `phpunit` should be run from the root. see #25088. git-svn-id: https://develop.svn.wordpress.org/trunk@25165 602fd350-edb4-49c9-b593-d223f7449a82
15 lines
585 B
XML
15 lines
585 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project name="WordPress Unit Tests" default="build" basedir=".">
|
|
<target name="clean">
|
|
<delete dir="build" />
|
|
</target>
|
|
<target name="prepare">
|
|
<mkdir dir="build/logs" />
|
|
<mkdir dir="build/phpunitreport" />
|
|
</target>
|
|
<target name="phpunit">
|
|
<exec command="phpunit" passthru="true"></exec>
|
|
<phpunitreport infile="build/logs/junit.xml" format="frames" todir="build/phpunitreport" usesorttable="true" />
|
|
</target>
|
|
<target name="build" depends="clean,prepare,phpunit" />
|
|
</project> |