Page MenuHomeDevCentral

D2683.diff
No OneTemporary

D2683.diff

diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -2,22 +2,15 @@
<project name="notifications" default="full-build">
<!-- By default, we assume all tools to be on the $PATH -->
<property name="composer" value="composer"/>
- <property name="pdepend" value="pdepend"/>
<property name="phpcpd" value="phpcpd"/>
- <property name="phpcs" value="phpcs"/>
<property name="phpdox" value="phpdox"/>
<property name="phploc" value="phploc"/>
- <property name="phpmd" value="phpmd"/>
- <property name="phpunit" value="phpunit"/>
- <!-- Use this when the tools are managed by Composer in ${basedir}/vendor/bin
+ <!-- Some tools are managed by Composer. -->
<property name="pdepend" value="${basedir}/vendor/bin/pdepend"/>
- <property name="phpcpd" value="${basedir}/vendor/bin/phpcpd"/>
<property name="phpcs" value="${basedir}/vendor/bin/phpcs"/>
- <property name="phpdox" value="${basedir}/vendor/bin/phpdox"/>
- <property name="phploc" value="${basedir}/vendor/bin/phploc"/>
<property name="phpmd" value="${basedir}/vendor/bin/phpmd"/>
- <property name="phpunit" value="${basedir}/vendor/bin/phpunit"/> -->
+ <property name="phpunit" value="${basedir}/vendor/bin/phpunit"/>
<target name="full-build"
depends="prepare,static-analysis,phpunit,phpdox,-check-failure"
@@ -233,7 +226,10 @@
unless="phpunit.done"
depends="prepare"
description="Run unit tests with PHPUnit">
- <exec executable="${phpunit}" resultproperty="result.phpunit" taskname="phpunit">
+ <exec executable="php" resultproperty="result.phpunit" taskname="phpunit">
+ <arg value="-dzend_extension=xdebug.so" />
+ <arg value="-dxdebug.mode=coverage" />
+ <arg value="${phpunit}" />
<arg value="--configuration"/>
<arg path="${basedir}/phpunit.xml"/>
</exec>

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 22:36 (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256577
Default Alt Text
D2683.diff (1 KB)

Event Timeline