diff --git a/software/jstestnode/runTestSuite.in b/software/jstestnode/runTestSuite.in index 35b211fb815e1235f2a7bfee346ac06d3a009a14..04aa54d4848306450a6a9e0e69a5b91ec687f70d 100644 --- a/software/jstestnode/runTestSuite.in +++ b/software/jstestnode/runTestSuite.in @@ -20,20 +20,20 @@ FIREFOX_EXECUTABLE = '$${firefox-instance:executable}' BASE_URL = 'http://[$${nginx-configuration:ip}]:$${nginx-configuration:port}/' def main(): - try: - parser = argparse.ArgumentParser(description='Run a test suite.') - parser.add_argument('--test_suite', help='The test suite name') - parser.add_argument('--test_suite_title', help='The test suite title') - parser.add_argument('--test_node_title', help='The test node title') - parser.add_argument('--project_title', help='The project title') - parser.add_argument('--revision', help='The revision to test', - default='dummy_revision') - parser.add_argument('--node_quantity', help='ignored', type=int) - parser.add_argument('--master_url', - help='The Url of Master controling many suites') - - args = parser.parse_args() + parser = argparse.ArgumentParser(description='Run a test suite.') + parser.add_argument('--test_suite', help='The test suite name') + parser.add_argument('--test_suite_title', help='The test suite title') + parser.add_argument('--test_node_title', help='The test node title') + parser.add_argument('--project_title', help='The project title') + parser.add_argument('--revision', help='The revision to test', + default='dummy_revision') + parser.add_argument('--node_quantity', help='ignored', type=int) + parser.add_argument('--master_url', + help='The Url of Master controling many suites') + + args = parser.parse_args() + try: test_suite_title = args.test_suite_title or args.test_suite test_suite = args.test_suite revision = args.revision diff --git a/software/jstestnode/software.cfg b/software/jstestnode/software.cfg index 7d6e03fff9e9866aeccd10d3804ef8cb3be22360..6e46230f1ae3e4060d51eb4ffd4c714e85b37672 100644 --- a/software/jstestnode/software.cfg +++ b/software/jstestnode/software.cfg @@ -106,7 +106,7 @@ mode = 0644 [template-runTestSuite] recipe = slapos.recipe.template url = ${:_profile_base_location_}/runTestSuite.in -md5sum = bc5ab8b49baf76a254a91aeea164a048 +md5sum = 25c42208d3bfacf003f3cfa10ccfcf6b output = ${buildout:directory}/runTestSuite.in mode = 0644