blob: 28c4815b038e038637b76e54357e1ac41bd92727 [file] [log] [blame]
<project name="Generate SDK Test Results HTML" default="genResults">
<condition property="resultsDefined">
<isset property="results"/>
</condition>
<condition property="eclipseHomeSet">
<isset property="eclipse-home"/>
</condition>
<condition property="testframeworkSet">
<isset property="testframework"/>
</condition>
<property name="htmlDir" value="${results}/html"/>
<property name="xmlDir" value="${results}/xml"/>
<target name="genResults">
<fail message="results directory not set"
unless="resultsDefined"/>
<fail message="Eclipse installation directory not set"
unless="eclipseHomeSet"/>
<fail message="Test framework directory not set"
unless="testframeworkSet"/>
<echo message="Generating results in ${htmlDir}"/>
<xslt style="${eclipse-home}/plugins/${testframework}/JUNIT.XSL" basedir="${xmlDir}" destdir="${htmlDir}" />
</target>
</project>