From 75e789577e089751d395faac10873e0285bf3a54 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Wed, 03 Sep 2008 09:46:18 +0000
Subject: [PATCH] make each test group a job

---
 opends/tests/functional-tests/testcases/i18n/i18n.xml |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/i18n/i18n.xml b/opends/tests/functional-tests/testcases/i18n/i18n.xml
index 2254780..9caaa46 100644
--- a/opends/tests/functional-tests/testcases/i18n/i18n.xml
+++ b/opends/tests/functional-tests/testcases/i18n/i18n.xml
@@ -30,12 +30,22 @@
   <defaultcall function="main_i18n"/>
 
   <function name="main_i18n">
+    <function-list-args>
+      <function-required-arg name="STAXParentID"/>
+    </function-list-args>
 
     <sequence>
 
       <block name="'i18n'">
       
         <sequence>
+
+          <!--- Load the job environment for the test group execution -->
+          <import machine="STAF_LOCAL_HOSTNAME"
+                  file="'%s/environment.xml' % TESTS_FUNCTIONS_DIR" />
+          <call function="'loadJobEnvironment'">
+               { 'parent' : STAXParentID }
+          </call>
             
           <!--
             #@TestGroupName             i18n
@@ -43,8 +53,6 @@
           -->
     
           <script>
-            CurrentTestPath={}
-            envAlreadyLoaded='true'
             CurrentTestPath['group']='i18n'
           </script>
       

--
Gitblit v1.10.0