5767N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
5767N/A ! The contents of this file are subject to the terms of the 5767N/A ! Common Development and Distribution License, Version 1.0 only 5767N/A ! (the "License"). You may not use this file except in compliance 5767N/A ! See the License for the specific language governing permissions 5767N/A ! and limitations under the License. 5767N/A ! When distributing Covered Code, include this CDDL HEADER in each 6982N/A ! If applicable, add the following below this CDDL HEADER, with the 6982N/A ! fields enclosed by brackets "[]" replaced with your own identifying 5767N/A ! Portions Copyright [yyyy] [name of copyright owner] 5767N/A ! Copyright 2012 ForgeRock AS. 5767N/A <
defaultcall function="main_snmp" />
5767N/A <
function name="main_snmp">
5767N/A <
function-
required-
arg name="STAXParentID"/>
5767N/A <!--- Load the job environment for the test group execution --> 5767N/A <
import machine="STAF_LOCAL_HOSTNAME" 5767N/A <
call function="'loadJobEnvironment'">
5767N/A { 'parent' : STAXParentID }
5767N/A CurrentTestPath['group']='snmp'
5767N/A _group=CurrentTestPath['group']
5767N/A <
call function="'testGroup_Preamble'" />
5767N/A <
import machine="STAF_LOCAL_HOSTNAME" 5767N/A <
call function="'main_snmp_setup'" />
5767N/A <!-- Run the test suites --> 5767N/A <
iterate var="_suite" in="suiteList">
5767N/A <
import machine="STAF_LOCAL_HOSTNAME" 5767N/A <
call function="'main_%s_%s' % (_group,_suite)" />
5767N/A <
message log="1" level="'fatal'">'Setup of test suite %s failed.' % _suite</
message>
5767N/A <
message log="1" level="'fatal'">'Main part of test suite %s failed.' % _suite</
message>
5767N/A <
message log="1" level="'fatal'">'Cleanup of test suite %s failed.' % _suite</
message>
5767N/A <
message log="1" level="'fatal'">'Execution of Test Group Failed'</
message>
5767N/A <
import machine="STAF_LOCAL_HOSTNAME" 5767N/A <
call function="'main_snmp_cleanup'" />
5767N/A <!-- Test Group Postamble --> 5767N/A <
call function="'testGroup_Postamble'"/>