From 297651347fe6a2a5bd6451b0143343ecccc070fe Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 04 May 2009 16:12:57 +0000
Subject: [PATCH] New functionality to run tests (functional and stress) on a remote machine
---
opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml b/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml
index 22ae990..b85c85a 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml
+++ b/opendj-sdk/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 -->
--
Gitblit v1.10.0