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/security/security.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/security/security.xml b/opends/tests/functional-tests/testcases/security/security.xml
index 32a0505..560fbee 100755
--- a/opends/tests/functional-tests/testcases/security/security.xml
+++ b/opends/tests/functional-tests/testcases/security/security.xml
@@ -30,13 +30,23 @@
   <defaultcall function="main_security"/>
   
   <function name="main_security">
+    <function-list-args>
+      <function-required-arg name="STAXParentID"/>
+    </function-list-args>
     
     <sequence>
       
       <block name="'security'">
         
         <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>
+                    
           <!--- Test Group information
             #@TestGroupName          Security tests
             #@TestGroupPurpose       Test the security.

--
Gitblit v1.10.0