|
23 | 23 | <property name="src.readmefile" value="${path}/README" />
|
24 | 24 | <property name="src.changesfile" value="${path}/CHANGES" />
|
25 | 25 | <property name="src.libdir" value="${path}/lib" />
|
26 |
| - <property name="src.testsuite" value="${path}/test-suite" /> |
27 | 26 | <property name="src.tests" value="${path}/tests" />
|
28 | 27 | <property name="builddir.package" value="${builddir}/${bundle.name}" />
|
29 | 28 | <property name="runtests" value="" />
|
30 | 29 | <filelist id="src.licenses" dir="${path}">
|
31 | 30 | <file name="LICENSE" />
|
32 | 31 | </filelist>
|
33 |
| - <fileset id="build.simpletest.unneeded" |
34 |
| - dir="${builddir.package}/test-suite/lib/simpletest"> |
35 |
| - <include name="docs/" /> |
36 |
| - <include name="tutorials/" /> |
37 |
| - <include name="extensions/" /> |
38 |
| - <include name="test/" /> |
39 |
| - <include name="packages/" /> |
40 |
| - </fileset> |
41 | 32 |
|
42 | 33 |
|
43 | 34 | <!-- Bundle all files into a central location -->
|
|
79 | 70 | </replacetokens>
|
80 | 71 | </filterchain>
|
81 | 72 | </copy>
|
82 |
| - <copy todir="${builddir.package}/test-suite"> |
83 |
| - <fileset dir="${src.testsuite}" /> |
84 |
| - </copy> |
85 | 73 | <copy todir="${builddir.package}/tests">
|
86 | 74 | <fileset dir="${src.tests}" />
|
87 | 75 | </copy>
|
88 |
| - <delete includeemptydirs="true"> |
89 |
| - <fileset refid="build.simpletest.unneeded" /> |
90 |
| - </delete> |
91 | 76 | </target>
|
92 | 77 |
|
93 | 78 | <!-- Package up the project as a gzip file -->
|
|
102 | 87 |
|
103 | 88 | <!-- Run the included unit tests -->
|
104 | 89 | <target name="test" depends="prepare, clean, copy-classes">
|
105 |
| - <exec executable="php" failonerror="true"> |
106 |
| - <env key="_" value="php" /> |
107 |
| - <arg value="${builddir.package}/test-suite/run.php" /> |
108 |
| - <arg value="${runtests}" /> |
109 |
| - </exec> |
| 90 | + <exec executable="phpunit" failonerror="true" /> |
110 | 91 | </target>
|
111 | 92 |
|
112 | 93 | </project>
|
0 commit comments