# HG changeset patch # User Maciej Seroka <maciejs@symbian.org> # Date 1263555244 0 # Node ID 4ae1d9d987f677827f08addbc116fcc86a41e2fe # Parent 61bf41df2efd2c85737564ae0ea7045f906e1cc4 Implemented publishing Dynamic BC Test Reports diff -r 61bf41df2efd -r 4ae1d9d987f6 common/build.test.xml --- a/common/build.test.xml Fri Jan 15 09:46:07 2010 +0000 +++ b/common/build.test.xml Fri Jan 15 11:34:04 2010 +0000 @@ -129,6 +129,7 @@ </sequential> </for> + <copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${build.log.dir}/ats_reports/index.html" failonerror="false" verbose="true"/> </then> </if> </then> diff -r 61bf41df2efd -r 4ae1d9d987f6 common/common_props.ant.xml --- a/common/common_props.ant.xml Fri Jan 15 09:46:07 2010 +0000 +++ b/common/common_props.ant.xml Fri Jan 15 11:34:04 2010 +0000 @@ -100,10 +100,10 @@ <property name="sf.spec.test.package.droppath" value="TestDrops"/> <!-- BC check properties --> - <property name="sf.spec.bccheck.enable" value="false"/> <!-- This disables it being called during a normal build, although the target can be called seperately --> - <property name="sf.spec.bccheck.enable.la" value="true"/> - <property name="sf.spec.bccheck.enable.ha" value="true"/> - <property name="sf.spec.bccheck.enable.dynamic" value="false"/> + <property name="sf.spec.bccheck.enable" value="true"/> <!-- This disables it being called during a normal build, although the target can be called seperately --> + <property name="sf.spec.bccheck.enable.la" value="false"/> + <property name="sf.spec.bccheck.enable.ha" value="false"/> + <property name="sf.spec.bccheck.enable.dynamic" value="true"/> <property name="sf.spec.bccheck.baseline.name" value="symbian1"/> <property name="sf.spec.bccheck.baseline.skd.dir" value="\\v800008\builds01\installed\s60_5th_sdk_installed"/> <property name="sf.spec.bccheck.baseline.s60.version" value="5.0"/> diff -r 61bf41df2efd -r 4ae1d9d987f6 common/diamonds/linksForDiamonds.xml.ftl --- a/common/diamonds/linksForDiamonds.xml.ftl Fri Jan 15 09:46:07 2010 +0000 +++ b/common/diamonds/linksForDiamonds.xml.ftl Fri Jan 15 11:34:04 2010 +0000 @@ -42,6 +42,13 @@ <name>Binary Compatibility Report (Libraries)</name> <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\BC\libraries_report.xml</url> </file> - </#if> + </#if> + <#if "${ant['sf.spec.bccheck.enable.dynamic']}" = "true"> + <file> + <type>log</type> + <name>Dynamic BC Test Reports</name> + <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\ats_reports\index.html</url> + </file> + </#if> </files> </diamonds-build> \ No newline at end of file diff -r 61bf41df2efd -r 4ae1d9d987f6 common/tools/ats/report_dummy.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/report_dummy.html Fri Jan 15 11:34:04 2010 +0000 @@ -0,0 +1,142 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title> +ATS3 generated test report +</title> +<style> +body +{ +background-color:#ffffff; +margin:0px; +color:black; +font-family: verdana, arial, sans-serif; +font-size: 24px; +} +td +{ +font-family: verdana, arial, tahoma; +font-size: 12px; +} +.tableHeader +{ +background-color: #7383DF; +font-family: verdana, arial, tahoma; +font-size: 11px; +font-weight: bold; +color: #ffffff; +} +.tableData +{ +background-color: #ffffff; +} +.legendPassed +{ +background-color: #90ff90; +border: 1px solid #e6e6e6; +} +.legendFailed +{ +background-color: #ff9090; +border: 1px solid #e6e6e6; +} +.legendSkipped +{ +background-color: #9090ff; +border: 1px solid #e6e6e6; +} +.legendNoResult +{ +background-color: #ffbb90; +border: 1px solid #e6e6e6; +} +.legendDisabled +{ +background-color: #b0b0b0; +border: 1px solid #e6e6e6; +} +.passed +{ +background-color: #90ff90; +} +.failed +{ +background-color: #ff9090; +} +.skipped +{ +background-color: #9090ff; +} +.noResult +{ +background-color: #ffbb90; +} +.disabled +{ +background-color: #b0b0b0; +} +div.passed { +font-size: 12px; +background-color: #90ff90; +border-top: 0px; +border-bottom: 1px solid #e6e6e6; +border-left: 0px; +border-right: 0px; +padding:4px; +} +div.failed { +font-size: 12px; +background-color: #ff9090; +border-top: 0px; +border-bottom: 1px solid #e6e6e6; +border-left: 0px; +border-right: 0px; +padding:4px; +} +div.skipped { +font-size: 12px; +background-color: #9090ff; +border-top: 0px; +border-bottom: 1px solid #e6e6e6; +border-left: 0px; +border-right: 0px; +padding:4px; +} +div.noResult { +font-size: 12px; +background-color: #ffbb90; +border-top: 0px; +border-bottom: 1px solid #e6e6e6; +border-left: 0px; +border-right: 0px; +padding:4px; +} +div.disabled { +font-size: 12px; +background-color: #b0b0b0; +border-top: 0px; +border-bottom: 1px solid #e6e6e6; +border-left: 0px; +border-right: 0px; +padding:4px; +} +a +{ +text-decoration: underline; +color: #000000; +} +a:hover +{ +text-decoration: underline; +color: #000000; +} +</style> +</head> +<body> +<div> +<p>Execution in progress...</p> +<p>No results available yet.</p> +</div> +</body> +</html>