mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Trying to get tests running.
This commit is contained in:
parent
f4482800e9
commit
d77c4408be
1 changed files with 15 additions and 12 deletions
|
@ -20,6 +20,7 @@
|
||||||
<property name="forceContextQualifier" value="${timestamp}"/>
|
<property name="forceContextQualifier" value="${timestamp}"/>
|
||||||
<property name="buildingOSGi" value="true"/>
|
<property name="buildingOSGi" value="true"/>
|
||||||
<property name="buildDirectory" value="${basedir}/results"/>
|
<property name="buildDirectory" value="${basedir}/results"/>
|
||||||
|
<property name="testDirectory" value="${buildDirectory}/test"/>
|
||||||
<property name="baseLocation" value="${buildDirectory}/eclipse"/>
|
<property name="baseLocation" value="${buildDirectory}/eclipse"/>
|
||||||
<property name="pde.build.scripts" value="${eclipse.home}/plugins/org.eclipse.pde.build/scripts"/>
|
<property name="pde.build.scripts" value="${eclipse.home}/plugins/org.eclipse.pde.build/scripts"/>
|
||||||
<property name="collectingFolder" value="eclipse"/>
|
<property name="collectingFolder" value="eclipse"/>
|
||||||
|
@ -99,7 +100,7 @@
|
||||||
|
|
||||||
<target name="unzip" depends="init" unless="dontUnzip">
|
<target name="unzip" depends="init" unless="dontUnzip">
|
||||||
<untar src="${eclipseDist}" dest="${buildDirectory}" compression="gzip"/>
|
<untar src="${eclipseDist}" dest="${buildDirectory}" compression="gzip"/>
|
||||||
<unzip src="${mylynDist}" dest="${buildDirectory}/eclipse/dropins"/>
|
<unzip src="${mylynDist}" dest="${buildDirectory}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="zips" depends="init,unzip">
|
<target name="zips" depends="init,unzip">
|
||||||
|
@ -137,23 +138,25 @@
|
||||||
|
|
||||||
<target name="test" depends="init" unless="hasErrors">
|
<target name="test" depends="init" unless="hasErrors">
|
||||||
<record name="${testReports}/testsLog.txt" action="start" loglevel="verbose"/>
|
<record name="${testReports}/testsLog.txt" action="start" loglevel="verbose"/>
|
||||||
|
<untar src="${eclipseDist}" dest="${testDirectory}" compression="gzip"/>
|
||||||
|
<unzip src="${mylynDist}" dest="${testDirectory}"/>
|
||||||
<unzip src="${zipsdir}/cdt-master-${branchVersion}-${buildId}.zip"
|
<unzip src="${zipsdir}/cdt-master-${branchVersion}-${buildId}.zip"
|
||||||
dest="${buildDirectory}/eclipse/dropins"/>
|
dest="${testDirectory}/eclipse"/>
|
||||||
<unjar src="${buildDirectory}/eclipse/dropins/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}.jar"
|
<unjar src="${testDirectory}/eclipse/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}.jar"
|
||||||
dest="${buildDirectory}/eclipse/dropins/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}"/>
|
dest="${testDirectory}/eclipse/plugins/org.eclipse.cdt.testing_${branchVersion}.${timestamp}"/>
|
||||||
<unjar src="${buildDirectory}/eclipse/dropins/plugins/${eclipseTest}.jar"
|
<unjar src="${testDirectory}/eclipse/plugins/${eclipseTest}.jar"
|
||||||
dest="${buildDirectory}/eclipse/dropins/plugins/${eclipseTest}"/>
|
dest="${testDirectory}/eclipse/plugins/${eclipseTest}"/>
|
||||||
<ant antfile="test.xml" dir="${buildDirectory}/eclipse/dropins/plugins/org.eclipse.cdt.testing_${branchVersion}.${forceContextQualifier}">
|
<ant antfile="test.xml" dir="${testDirectory}/eclipse/plugins/org.eclipse.cdt.testing_${branchVersion}.${forceContextQualifier}">
|
||||||
<property name="eclipse-home" value="${buildDirectory}/eclipse"/>
|
<property name="eclipse-home" value="${testDirectory}/eclipse"/>
|
||||||
<property name="library-file" value="${buildDirectory}/eclipse/dropins/plugins/${eclipseTest}/library.xml"/>
|
<property name="library-file" value="${testDirectory}/eclipse/plugins/${eclipseTest}/library.xml"/>
|
||||||
<property name="os" value="${baseos}"/>
|
<property name="os" value="${baseos}"/>
|
||||||
<property name="ws" value="${basews}"/>
|
<property name="ws" value="${basews}"/>
|
||||||
<property name="arch" value="${basearch}"/>
|
<property name="arch" value="${basearch}"/>
|
||||||
</ant>
|
</ant>
|
||||||
<xslt style="${basedir}/JUNIT.XSL"
|
<xslt style="${basedir}/JUNIT.XSL"
|
||||||
in="${buildDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
in="${testDirectory}/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="${testDirectory}/eclipse/org.eclipse.cdt.testing.xml"
|
||||||
tofile="${testReports}/org.eclipse.cdt.testing.xml"
|
tofile="${testReports}/org.eclipse.cdt.testing.xml"
|
||||||
failonerror="false"/>
|
failonerror="false"/>
|
||||||
<record name="${testReports}/testsLog.txt" action="stop"/>
|
<record name="${testReports}/testsLog.txt" action="stop"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue