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

Christophe Sovant
04.12.2009 5a6a88bd1e4831128c55f72923b18f5f771d45f2
opends/tests/staf-tests/shared/tests/runTests.xml
@@ -52,20 +52,9 @@
        testlog.write('    <results>\n')
        testlog.close()
        groupsFileName='%s/testcases/run-custom-suites.dat' % TESTS_DIR
        if not os.path.exists(groupsFileName):
          groupsFileName='%s/testcases/run-default-suites.dat' % TESTS_DIR
        f = open(groupsFileName, 'r')
        groupsToRun = []
        for line in f.readlines():
          if line.startswith('#'):
            continue
          else:
            groupsToRun.append(groupToRun(line.rstrip()))
        f.close()
        for line in TEST_PLAN_CUSTOM.split(","):
          groupsToRun.append(groupToRun(line.rstrip()))
      </script>
      <!-- TODO: If no groupsToRun then iterate will throw exception -->