File: 0001-Use-phpunit-from-path.patch

package info (click to toggle)
phpunit-global-state 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 200 kB
  • ctags: 153
  • sloc: php: 650; xml: 29; makefile: 21; sh: 6
file content (25 lines) | stat: -rw-r--r-- 703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Mon, 9 Feb 2015 23:22:57 -0400
Subject: Use phpunit from path

Forwarded: not-needed
---
 build.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 63c5445..626f0d8 100644
--- a/build.xml
+++ b/build.xml
@@ -25,9 +25,9 @@
  </target>
 
  <target name="phpunit" description="Run unit tests with PHPUnit">
-  <exec executable="${basedir}/vendor/bin/phpunit" failonerror="true">
+  <exec executable="phpunit" failonerror="true">
    <arg value="--configuration"/>
-   <arg path="${basedir}/build/phpunit.xml"/>
+   <arg path="${basedir}/phpunit.xml.dist"/>
   </exec>
  </target>
 </project>