This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 70850
Collapse All | Expand All

(-)apisupport/harness/release/suite.xml (+4 lines)
Lines 278-281 Link Here
278
        <ant antfile="${harness.dir}/jnlp.xml" target="debug"/>
278
        <ant antfile="${harness.dir}/jnlp.xml" target="debug"/>
279
    </target>
279
    </target>
280
    
280
    
281
    <target name="test" depends="build" description="Runs tests for all modules in the suite.">
282
        <subant target="test" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false"/>
283
    </target>
284
    
281
</project>
285
</project>
(-)nbbuild/templates/common.xml (-2 / +4 lines)
Lines 352-357 Link Here
352
                <mapper type="glob" from="build.test.unit.work.dir" to="nbjunit.workdir"/>
353
                <mapper type="glob" from="build.test.unit.work.dir" to="nbjunit.workdir"/>
353
            </propertyset>
354
            </propertyset>
354
        </propertyset>
355
        </propertyset>
356
        
357
        <available file="${test.unit.src.dir}" type="dir" property="exists.test.unit.src.dir"/>
355
    </target>
358
    </target>
356
359
357
    <target name="test-build" depends="jar,test-dep-build,do-test-build,test-build-datajar"/>
360
    <target name="test-build" depends="jar,test-dep-build,do-test-build,test-build-datajar"/>
Lines 367-373 Link Here
367
      <subant buildpath="${modules.sorted}" target="do-test-build" />
370
      <subant buildpath="${modules.sorted}" target="do-test-build" />
368
    </target>
371
    </target>
369
372
370
    <target name="do-test-build" depends="init,test-init">
373
    <target name="do-test-build" depends="init,test-init" if="exists.test.unit.src.dir">
371
        <fail >
374
        <fail >
372
         Missing test dependency 
375
         Missing test dependency 
373
          Runtime classpath: ${test.unit.runtime.cp}
376
          Runtime classpath: ${test.unit.runtime.cp}
Lines 459-465 Link Here
459
        </copy>
462
        </copy>
460
    </target>
463
    </target>
461
464
462
    <target name="test" depends="init,test-init,test-build">
465
    <target name="test" depends="init,test-init,test-build" if="exists.test.unit.src.dir">
463
        <mkdir dir="${build.test.unit.results.dir}"/>
466
        <mkdir dir="${build.test.unit.results.dir}"/>
464
        <junit showoutput="true" fork="true" failureproperty="tests.failed" errorproperty="tests.failed" filtertrace="${test.filter.trace}" tempdir="${build.test.unit.results.dir}">
467
        <junit showoutput="true" fork="true" failureproperty="tests.failed" errorproperty="tests.failed" filtertrace="${test.filter.trace}" tempdir="${build.test.unit.results.dir}">
465
            <batchtest todir="${build.test.unit.results.dir}">
468
            <batchtest todir="${build.test.unit.results.dir}">

Return to bug 70850