Commit 80325714 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode:scalability: add erp5-location command-line option

parent 683a20c1
...@@ -91,6 +91,10 @@ class ScalabilityLauncher(object): ...@@ -91,6 +91,10 @@ class ScalabilityLauncher(object):
metavar='LOG_PATH', metavar='LOG_PATH',
help='Log Path') help='Log Path')
parser.add_argument('--erp5-location',
metavar='ERP5_LOCATION',
help='Path to erp5 depository')
parser.add_argument('--runner-path', parser.add_argument('--runner-path',
metavar='Runner_PATH', metavar='Runner_PATH',
help='runner Path') help='runner Path')
...@@ -132,9 +136,9 @@ class ScalabilityLauncher(object): ...@@ -132,9 +136,9 @@ class ScalabilityLauncher(object):
start_time = time.time() start_time = time.time()
error_message_set, exit_status = set(), 0 error_message_set, exit_status = set(), 0
test_suites = 'createPerson createWebPage' test_suites = 'createPerson'
benchmark_path_list = '/opt/slapgrid/0d079fd393801181806cf894bf39aca6/parts/erp5/erp5/util/benchmark/examples/' benchmark_path_list = os.path.join(self.__argumentNamespace.erp5_location, 'erp5/util/benchmark/examples/')
user_file_path = '/opt/slapgrid/0d079fd393801181806cf894bf39aca6/parts/erp5/erp5/util/benchmark/examples/' user_file_path = os.path.join(self.__argumentNamespace.erp5_location, 'erp5/util/benchmark/examples/')
tester_path = self.__argumentNamespace.runner_path tester_path = self.__argumentNamespace.runner_path
while time.time()-start_time < max_time: while time.time()-start_time < max_time:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment