|
@@ -204,9 +204,7 @@ is divided into following sections:
|
204
|
204
|
</macrodef>
|
205
|
205
|
</target>
|
206
|
206
|
|
207
|
|
- <target name="-init-macrodef-junit" depends="-init-macrodef-junit-clover,-init-macrodef-junit-noclover"/>
|
208
|
|
-
|
209
|
|
- <target name="-init-macrodef-junit-clover" if="clover.installed">
|
|
207
|
+ <target name="-init-macrodef-junit">
|
210
|
208
|
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
|
211
|
209
|
<attribute default="${includes}" name="includes"/>
|
212
|
210
|
<attribute default="${excludes}" name="excludes"/>
|
|
@@ -214,57 +212,8 @@ is divided into following sections:
|
214
|
212
|
<sequential>
|
215
|
213
|
<delete dir="${test_profile_dir}"/>
|
216
|
214
|
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="yes" forkmode="once" showoutput="true" timeout="120000">
|
217
|
|
- <classpath>
|
218
|
|
- <pathelement path="${clover.jar}"/>
|
219
|
|
- </classpath>
|
220
|
215
|
<env key="DMDIRC_HOME" value="${test_profile_dir}"/>
|
221
|
216
|
<classpath refid="all.libs"/>
|
222
|
|
- <batchtest todir="${build.test.results.dir}">
|
223
|
|
- <clover-optimized-testset>
|
224
|
|
- <fileset dir="${main.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
225
|
|
- <filename name="@{testincludes}"/>
|
226
|
|
- </fileset>
|
227
|
|
- <fileset dir="${parser.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
228
|
|
- <filename name="@{testincludes}"/>
|
229
|
|
- </fileset>
|
230
|
|
- <fileset dir="${plugins.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
231
|
|
- <filename name="@{testincludes}"/>
|
232
|
|
- </fileset>
|
233
|
|
- <fileset dir="${util.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
234
|
|
- <filename name="@{testincludes}"/>
|
235
|
|
- </fileset>
|
236
|
|
- </clover-optimized-testset>
|
237
|
|
-
|
238
|
|
- <fileset dir="${main.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
239
|
|
- <filename name="**/DummyTest*"/>
|
240
|
|
- </fileset>
|
241
|
|
- </batchtest>
|
242
|
|
- <classpath>
|
243
|
|
- <path path="${run.test.classpath}"/>
|
244
|
|
- </classpath>
|
245
|
|
- <syspropertyset>
|
246
|
|
- <propertyref prefix="test-sys-prop."/>
|
247
|
|
- <mapper from="test-sys-prop.*" to="*" type="glob"/>
|
248
|
|
- </syspropertyset>
|
249
|
|
- <formatter type="brief" usefile="false"/>
|
250
|
|
- <formatter type="xml"/>
|
251
|
|
- <jvmarg line="${run.jvmargs}"/>
|
252
|
|
- </junit>
|
253
|
|
- <delete dir="${test_profile_dir}"/>
|
254
|
|
- </sequential>
|
255
|
|
- </macrodef>
|
256
|
|
- </target>
|
257
|
|
-
|
258
|
|
- <target name="-init-macrodef-junit-noclover" unless="clover.installed">
|
259
|
|
- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
|
260
|
|
- <attribute default="${includes}" name="includes"/>
|
261
|
|
- <attribute default="${excludes}" name="excludes"/>
|
262
|
|
- <attribute default="**" name="testincludes"/>
|
263
|
|
- <sequential>
|
264
|
|
- <delete dir="${test_profile_dir}"/>
|
265
|
|
- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="yes" forkmode="once" showoutput="true" timeout="120000">
|
266
|
|
- <classpath refid="all.libs"/>
|
267
|
|
- <env key="DMDIRC_HOME" value="${test_profile_dir}"/>
|
268
|
217
|
<batchtest todir="${build.test.results.dir}">
|
269
|
218
|
<fileset dir="${main.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
270
|
219
|
<filename name="@{testincludes}"/>
|