# determine that all things which need a value have a value if test_run.output_dir == "" : test_run.output_dir = default_output_dir # if running on Windows, add the Windows prefix if is_running_on_win == 1 : test_run.output_dir = win_file_prefix + test_run.output_dir # end if dprint(3," * Output dir not specified, using default. Output dir for this run is " + test_run.output_dir) # end if if is_running_on_win == 1 : # set the lnx version of the output dir name to use with scp in Cygwin # remove teh win_file_prefix prefix_len = len(win_file_prefix) test_run.lnx_output_dir = test_run.output_dir[prefix_len:] # end if if test_run.summary_file == "" : test_run.summary_file = test_run.output_dir + "/" + default_summary_file dprint(3," * Summary file not specified, using default. Summary file for this run is " + test_run.summary_file) # end if if test_run.test_suite_dir == "" : test_run.test_suite_dir = default_test_suite_dir dprint(3," * Test suite directory not specified, using default. Test suite directory for this run is " + test_run.test_suite_dir) # end if # must be able to find the given test_suite_dir if not os.path.exists(test_run.test_suite_dir) : print "ERROR: Cannot find test suite directory: " + test_run.test_suite_dir
# if running on Windows, add the Windows prefix if is_running_on_win == 1: test_run.output_dir = win_file_prefix + test_run.output_dir # end if dprint( 3, " * Output dir not specified, using default. Output dir for this run is " + test_run.output_dir) # end if if is_running_on_win == 1: # set the lnx version of the output dir name to use with scp in Cygwin # remove teh win_file_prefix prefix_len = len(win_file_prefix) test_run.lnx_output_dir = test_run.output_dir[prefix_len:] # end if if test_run.summary_file == "": test_run.summary_file = test_run.output_dir + "/" + default_summary_file dprint( 3, " * Summary file not specified, using default. Summary file for this run is " + test_run.summary_file) # end if if test_run.test_suite_dir == "": test_run.test_suite_dir = default_test_suite_dir dprint( 3, " * Test suite directory not specified, using default. Test suite directory for this run is "