mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

andrug
08.19.2008 d77d4540d3835327d88476c2ab9ad855c55cb4ac
run next phase only if all previous phase succeded
1 files modified
26 ■■■■■ changed files
opendj-sdk/opends/tests/system-tests/phases/main_run.xml 26 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/system-tests/phases/main_run.xml
@@ -210,6 +210,10 @@
          'runScheduler'     : runScheduler
        }
      </call>
      <if expr="ERR_NUM[0] != 0">
        <return/>
      </if>
      
      <!-- ============ INSTALLATION ================================= -->
      <if expr="runInstallation == 'true'">
@@ -231,8 +235,7 @@
      
      
      <!-- ============ GENERATE LDIF & IMPORT LDIF  ================== -->
      <if expr="runGenerateLdif == 'true'">
        <if expr="ERR_NUM_INSTALL == '' or ERR_NUM_INSTALL == 0">
      <if expr="runGenerateLdif == 'true' and ERR_NUM_TOTAL == 0">
          <sequence>
            <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
              file="'%s/phases/generateLdif/generateLdif.xml' % (TESTS_DIR)"/>
@@ -245,12 +248,10 @@
            </script>
          </sequence>
        </if>
      </if>
      
      
      <!-- ============ PRE-CONFIGURATION ============================ -->
      <if expr="runPreConfiguration == 'true'">
        <if expr="ERR_NUM_GEN_LDIF == '' or ERR_NUM_GEN_LDIF == 0">
      <if expr="runPreConfiguration == 'true' and ERR_NUM_TOTAL == 0">
          <sequence>
            <call function="'isFile'">
            {
@@ -277,13 +278,10 @@
            </if>
          </sequence>
        </if>
      </if>
      
      
      <!-- ============ CONFIGURATION  =============================== -->
      <if expr="runConfiguration == 'true'">
        <if expr="ERR_NUM_PRE_CONFIGURATION == '' or
                  ERR_NUM_PRE_CONFIGURATION == 0">
      <if expr="runConfiguration == 'true' and ERR_NUM_TOTAL == 0">
          <sequence>
            <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
              file="'%s/phases/configuration/configuration.xml' % TESTS_DIR"/>
@@ -299,12 +297,10 @@
            </script>
          </sequence>
        </if>
      </if>
      
      
      <!-- ============ POST-CONFIGURATION =========================== -->
      <if expr="runPostConfiguration == 'true'">
        <if expr="ERR_NUM_CONFIGURATION == '' or ERR_NUM_CONFIGURATION == 0">
      <if expr="runPostConfiguration == 'true' and ERR_NUM_TOTAL == 0">
          <sequence>
            <call function="'isFile'">
            {
@@ -331,7 +327,6 @@
            </if>
          </sequence>
        </if>
      </if>
      
      
      <!-- ============ MONITORING =================================== -->
@@ -339,9 +334,7 @@
      
      
      <!-- ============ scheduler ==================================== -->
      <if expr="runScheduler == 'true'">
        <if expr="ERR_NUM_POST_CONFIGURATION == '' or
                  ERR_NUM_POST_CONFIGURATION == 0">
      <if expr="runScheduler == 'true' and ERR_NUM_TOTAL == 0">
          <sequence>
            <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
              file="'%s/phases/scheduler/scheduler.xml' % (TESTS_DIR)"/>
@@ -359,7 +352,6 @@
            </script>
          </sequence>
        </if>
      </if>
      
      
      <!-- ============ TOPOLOGY ===================================== -->