Skip to content
Snippets Groups Projects
Commit 2d0c27d6 authored by david_williams's avatar david_williams
Browse files

335530 - releng tests crash if no versioning report available

parent 6740d68a
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.eclipse.wtp.releng.tests;singleton:=true
Bundle-Activator: org.eclipse.wtp.releng.tests.TestActivator
Bundle-Version: 1.1.3.qualifier
Bundle-Version: 1.1.4.qualifier
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
......
......@@ -98,6 +98,9 @@
quiet="true"/>
<mkdir
dir="${workspace}"/>
<available
file="${buildDirectory}/${buildLabel}/versioningReport_${buildLabel}.xml"
property="reportAvailable" />
</target>
<!--
This suite target defines the tests that need to be run.
......@@ -162,7 +165,8 @@
tofile="${buildDirectory}/${buildLabel}/testResults/consolelogs/${plugin-name}.consolelog.txt"/>
</target>
<target
name="copyxsl">
name="copyxsl"
if="reportAvailable">
<!-- copy our particular xsl files to web directory for prosperity-->
<copy
todir="${buildDirectory}/${buildLabel}/"
......@@ -173,10 +177,10 @@
name="**/org.eclipse.wtp.releng.tests*/versioningReportToHTML.xsl"/>
</fileset>
</copy>
<!-- and use them to create basic display -->
<!-- and use them to create basic HTML display, if there is a report -->
<xslt
basedir="${buildDirectory}/${buildLabel}/"
includes="versioningReport_*"
includes="versioningReport_${buildLabel}.xml"
destdir="${buildDirectory}/${buildLabel}/"
style="versioningReportToHTML.xsl"
force="true"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment