From a5c9d46f4475a637cd67110140715b64ab393e35 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Tue, 13 Feb 2007 07:39:34 +0000
Subject: [PATCH] another commit for issue 843. Saving the report data after a test run.

---
 opends/tests/functional-tests/staf-installer.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/opends/tests/functional-tests/staf-installer.xml b/opends/tests/functional-tests/staf-installer.xml
index 5dbba23..8b6f26a 100644
--- a/opends/tests/functional-tests/staf-installer.xml
+++ b/opends/tests/functional-tests/staf-installer.xml
@@ -240,6 +240,7 @@
       <mkdir dir="${staf.tmp.dir}"/>
       <mkdir dir="${tests.run.dir}/${tests.run.time}"/>
       <mkdir dir="${tests.run.dir}/${tests.run.time}/config"/>
+      <mkdir dir="${tests.run.dir}/${tests.run.time}/report"/>
       <!-- these will serve for after-the-fact archiving the logs -->
       <mkdir dir="${tests.run.dir}/${tests.run.time}/staf-logs"/>
       <mkdir dir="${tests.run.dir}/${tests.run.time}/server-logs"/>
@@ -322,6 +323,12 @@
       <fileset dir="${staf.home}/logs"/>
     </copy>
     <delete dir="${staf.home}/logs" />
+    <echo>Saving report</echo>
+    <copy todir="${tests.run.dir}/${tests.run.time}/report">
+      <fileset dir="${staf.tmp.dir}">
+        <include name="r*"/>
+      </fileset>
+    </copy>
   </target>
 <!-- Run tests section - bottom -->
   

--
Gitblit v1.10.0