mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-07 18:43:32 +02:00
make individual unit test console output available, and all diagnostics to under testReports
This commit is contained in:
parent
cca2b142b4
commit
9497a4150a
1 changed files with 6 additions and 3 deletions
|
@ -35,10 +35,13 @@
|
||||||
<property name="basearch" value="${osgi.arch}"/>
|
<property name="basearch" value="${osgi.arch}"/>
|
||||||
<property name="tagbranch" value=""/>
|
<property name="tagbranch" value=""/>
|
||||||
<property name="tagname" value="v${timestamp}"/>
|
<property name="tagname" value="v${timestamp}"/>
|
||||||
|
<property name="testReports" value="${zipsdir}/testReports"/>
|
||||||
|
<property name="junit-report-output" value="${testReports}"/>
|
||||||
<condition property="onWindows">
|
<condition property="onWindows">
|
||||||
<os family="windows"/>
|
<os family="windows"/>
|
||||||
</condition>
|
</condition>
|
||||||
<mkdir dir="${buildDirectory}"/>
|
<mkdir dir="${buildDirectory}"/>
|
||||||
|
<mkdir dir="${testReports}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="fetch" depends="init">
|
<target name="fetch" depends="init">
|
||||||
|
@ -117,7 +120,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test" depends="init" unless="hasErrors">
|
<target name="test" depends="init" unless="hasErrors">
|
||||||
<record name="${zipsdir}/testsLog.txt" action="start" loglevel="verbose"/>
|
<record name="${testReports}/testsLog.txt" action="start" loglevel="verbose"/>
|
||||||
<unzip src="${zipsdir}/cdt-master-${branchVersion}-${buildId}.zip"
|
<unzip src="${zipsdir}/cdt-master-${branchVersion}-${buildId}.zip"
|
||||||
dest="${buildDirectory}/eclipse"/>
|
dest="${buildDirectory}/eclipse"/>
|
||||||
<unjar src="${buildDirectory}/eclipse/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}.jar"
|
<unjar src="${buildDirectory}/eclipse/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}.jar"
|
||||||
|
@ -135,9 +138,9 @@
|
||||||
in="${buildDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
in="${buildDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
||||||
out="${zipsdir}/junits.html"/>
|
out="${zipsdir}/junits.html"/>
|
||||||
<copy file="${buildDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
<copy file="${buildDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
||||||
tofile="${zipsdir}/org.eclipse.cdt.testing.xml"
|
tofile="${testReports}/org.eclipse.cdt.testing.xml"
|
||||||
failonerror="false"/>
|
failonerror="false"/>
|
||||||
<record name="${zipsdir}/testsLog.txt" action="stop"/>
|
<record name="${testReports}/testsLog.txt" action="stop"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="sign" depends="init" unless="hasErrors">
|
<target name="sign" depends="init" unless="hasErrors">
|
||||||
|
|
Loading…
Add table
Reference in a new issue