# this can be set from the command line, so only set it if it's not already set if test_run.summary_file == "" : test_run.summary_file = pair[1] dprint(3," * Summary file for this run is " + test_run.summary_file) else : dprint(3," * Summary file was specified on the command line") # end if continue # end if # test suite directory - do not overwrite if specified on command line if re.match(r'^TH_TEST_SUITE_DIR$',pair[0]) : dprint(3," * Found test suite directory = " + pair[1]) # this can be set from the command line, so only set it if it's not already set if test_run.test_suite_dir == "" : test_run.test_suite_dir = pair[1] dprint(3," * Test suite directory for this run is " + test_run.test_suite_dir) else : dprint(3," * Test suite directory was specified on the command line") # end if continue # end if # if it's a test suite config, get a new test suite object if re.match(r'^TH_SUITE$',pair[0]) : dprint(3," * Found suite " + pair[1]) # suites can have attributes - they are separated by :: # Ex: TH_SUITE = foo::timeout=45::attr2=val2 # NOTE: buildbot will currently timeout the entire testharness if any test suite lasts # more than 30 minutes. If we ever have a suite that needs more than 30 minutes, we
dprint( 3, " * Summary file for this run is " + test_run.summary_file) else: dprint(3, " * Summary file was specified on the command line") # end if continue # end if # test suite directory - do not overwrite if specified on command line if re.match(r'^TH_TEST_SUITE_DIR$', pair[0]): dprint(3, " * Found test suite directory = " + pair[1]) # this can be set from the command line, so only set it if it's not already set if test_run.test_suite_dir == "": test_run.test_suite_dir = pair[1] dprint( 3, " * Test suite directory for this run is " + test_run.test_suite_dir) else: dprint( 3, " * Test suite directory was specified on the command line" ) # end if continue # end if # if it's a test suite config, get a new test suite object if re.match(r'^TH_SUITE$', pair[0]): dprint(3, " * Found suite " + pair[1])