42 parser.add_option("-t", "--tests", action = "store", type = "string", |
42 parser.add_option("-t", "--tests", action = "store", type = "string", |
43 dest = "tests", help = "regex to use for selecting tests") |
43 dest = "tests", help = "regex to use for selecting tests") |
44 parser.add_option("-d", "--debug", action = "store_true", dest = "debug_mode", |
44 parser.add_option("-d", "--debug", action = "store_true", dest = "debug_mode", |
45 default = False, help = "Turns on debug-mode") |
45 default = False, help = "Turns on debug-mode") |
46 parser.add_option("--test-home", action = "store", type = "string", |
46 parser.add_option("--test-home", action = "store", type = "string", |
47 dest = "test_home", |
47 dest = "test_home", default="default", |
48 help = "Location of custom .sbs_init.xml (name of directory in " + |
48 help = "Location of custom .sbs_init.xml (name of directory in " + |
49 "'custom_options'): test/custom_options/<test_home>/.sbs_init.xml") |
49 "'custom_options'): test/custom_options/<test_home>/.sbs_init.xml") |
50 parser.add_option("--what-failed", action = "store_true", dest = "what_failed", |
50 parser.add_option("--what-failed", action = "store_true", dest = "what_failed", |
51 help = "Re-run all the tests that failed in the previous test run") |
51 help = "Re-run all the tests that failed in the previous test run") |
52 parser.add_option("--clean", action = "store_true", dest = "clean", |
52 parser.add_option("--clean", action = "store_true", dest = "clean", |