From 11bc51ab0ec882cd8445dfe59b2bb9159a62e683 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Mon, 27 Aug 2007 22:29:10 +0000
Subject: [PATCH] 1 - runCommand wraps output lines longer than 100 characters 2 - fix in runTestJob: removed copy of results.html in tmp folder 3 - fix in staf-installer.xml removed references to results.html     only rely on my-report.html now 4 - attach my-report.html to the in place of results.html 5 - added knowIssue facility to allow to tag tests failing because of known issues 6 - updated the XSL style sheet to show known issue 7 - added testcase coloring based on status pass/fail/unknown/known 8 - added table of contents title row to make it easier for newcomers to read the     report 9 - added known bugs calls in backends group 10- added known bugs calls in security group 11- added known bugs call in logging group 12- fix in utils for default windows environment variables

---
 opends/tests/functional-tests/staf-installer.xml |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/opends/tests/functional-tests/staf-installer.xml b/opends/tests/functional-tests/staf-installer.xml
index 272e03d..ce18f25 100644
--- a/opends/tests/functional-tests/staf-installer.xml
+++ b/opends/tests/functional-tests/staf-installer.xml
@@ -618,7 +618,7 @@
       </fileset>
     </copy>
     <echo>You may access the tests report at</echo>
-    <echo>${tests.run.dir}/${tests.run.time}/report/results.html</echo>
+    <echo>${tests.run.dir}/${tests.run.time}/report/my-report.html</echo>
     <antcall target="send-mail"/>
   </target>
   
@@ -694,7 +694,7 @@
   
   <target name="send-mail-prepare">
     <condition property="test.successful">
-      <available file="${staf.tmp.dir}/results.html"/>
+      <available file="${staf.tmp.dir}/my-report.html"/>
     </condition>
     <condition property="email.send">
       <equals arg1="${email.enabled}" arg2="y"
@@ -705,7 +705,7 @@
   <target name="send-mail-get-percentage" depends="send-mail-prepare" if="test.successful">
     <echo>test report found.Proceeding...</echo>
     <delete file="${staf.tmp.dir}/percentage.properties"/>
-    <copy file="${staf.tmp.dir}/results.html" tofile="${staf.tmp.dir}/percentage.properties">
+    <copy file="${staf.tmp.dir}/my-report.html" tofile="${staf.tmp.dir}/percentage.properties">
       <filterchain>
         <linecontains>
          <contains value='font size="+2'/>
@@ -732,14 +732,14 @@
       </or>
     </condition>
     <condition property="email.file" 
-               value="${staf.tmp.dir}/results.html" 
+               value="${staf.tmp.dir}/my-report.html" 
                else="staf-installer/failure.html">
-      <available file="${staf.tmp.dir}/results.html"/>
+      <available file="${staf.tmp.dir}/my-report.html"/>
     </condition>
     <condition property="email.subject"
                value="FT - Run - ${daily.date} - ${os.name} - ${os.arch} - ${test.percentage}%"
                else="FT - Failed -${daily.date} - ${os.name} - ${os.arch}">
-      <available file="${staf.tmp.dir}/results.html"/>
+      <available file="${staf.tmp.dir}/my-report.html"/>
     </condition>
     <antcall target="send-mail-noauth"/>
     <antcall target="send-mail-withauth"/>
@@ -1123,7 +1123,7 @@
     <java jar="${staf.install.dir}/services/stax/STAXDoc.jar" fork="true">
       <arg value="-d"/> 
       <arg value="${staf.home}/doc"/>
-      <arg value="testcases"/>
+      <!--<arg value="testcases"/>
       <arg value="testcases/aci"/>
       <arg value="testcases/backends"/>
       <arg value="testcases/core"/>
@@ -1139,8 +1139,9 @@
       <arg value="testcases/security/pwd_storage"/>
       <arg value="testcases/security/pwd_validator"/>
       <arg value="testcases/security/sasl"/>
-      <arg value="testcases/security/startTLS"/>
+      <arg value="testcases/security/startTLS"/>-->
       <arg value="shared/functions"/>
+      <arg value="testcases/sample" />
     </java>
   </target>
   

--
Gitblit v1.10.0