Skip to content
Permalink
Browse files
[Truffle] Name the mspec reports to make it easier to track in a brow…
…ser.
  • Loading branch information
nirvdrum committed Feb 25, 2015
1 parent c149655 commit 8217c7d2a9f08c7817174bacbf372b8b5cd3419f
Showing 3 changed files with 22 additions and 4 deletions.
@@ -11,14 +11,17 @@
</description>

<target name="gen">
<property name="reportTitle" value="Spec Results"/>
<property name="genReportDir" location="target/mspec-html-report"/>
<delete dir="${genReportDir}"/>
<mkdir dir="${genReportDir}"/>
<junitreport todir="${genReportDir}">
<fileset dir="target/mspec-results">
<include name="**/TEST-*.xml"/>
</fileset>
<report format="frames" styledir="${basedir}/../spec/truffle" todir="${genReportDir}/html"/>
<report format="frames" styledir="${basedir}/../spec/truffle" todir="${genReportDir}/html">
<param name="TITLE" expression="${reportTitle}" />
</report>
</junitreport>
</target>
</project>
@@ -261,7 +261,11 @@ def truffle_spec_config(spec_type, generate_report)
execute_goals( 'run',
:id => 'junit-report-generation',
:phase => 'test',
:configuration => [ xml( '<target><ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" /></target>' ) ] )
:configuration => [ xml(
'<target>' +
'<property name="reportTitle" value="Language Spec Report" />' +
'<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />' +
'</target>' ) ] )
end

end
@@ -279,7 +283,11 @@ def truffle_spec_config(spec_type, generate_report)
execute_goals( 'run',
:id => 'junit-report-generation',
:phase => 'test',
:configuration => [ xml( '<target><ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" /></target>' ) ] )
:configuration => [ xml(
'<target>' +
'<property name="reportTitle" value="Core Spec Report" />' +
'<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />' +
'</target>' ) ] )
end

end
@@ -297,7 +305,11 @@ def truffle_spec_config(spec_type, generate_report)
execute_goals( 'run',
:id => 'junit-report-generation',
:phase => 'test',
:configuration => [ xml( '<target><ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" /></target>' ) ] )
:configuration => [ xml(
'<target>' +
'<property name="reportTitle" value="Stdlib Spec Report" />' +
'<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />' +
'</target>' ) ] )
end

end
@@ -843,6 +843,7 @@
</goals>
<configuration>
<target>
<property name="reportTitle" value="Language Spec Report" />
<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />
</target>
</configuration>
@@ -909,6 +910,7 @@
</goals>
<configuration>
<target>
<property name="reportTitle" value="Core Spec Report" />
<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />
</target>
</configuration>
@@ -975,6 +977,7 @@
</goals>
<configuration>
<target>
<property name="reportTitle" value="Stdlib Spec Report" />
<ant antfile="${basedir}/../spec/truffle/buildTestReports.xml" />
</target>
</configuration>

0 comments on commit 8217c7d

Please sign in to comment.