View | Details | Raw Unified | Return to bug 736
Collapse All | Expand All

(-)a/test.py (-3 / +3 lines)
 Lines 896-902    Link Here 
896
    # Create the main output file and start filling it with XML.  We need to 
896
    # Create the main output file and start filling it with XML.  We need to 
897
    # do this since the tests will just append individual results to this file.
897
    # do this since the tests will just append individual results to this file.
898
    #
898
    #
899
    xml_results_file = os.path.join(testpy_output_dir, "results.xml")
899
    xml_results_file = os.path.abspath(os.path.join(testpy_output_dir, "results.xml"))
900
    f = open(xml_results_file, 'w')
900
    f = open(xml_results_file, 'w')
901
    f.write('<?xml version="1.0"?>\n')
901
    f.write('<?xml version="1.0"?>\n')
902
    f.write('<TestResults>\n')
902
    f.write('<TestResults>\n')
 Lines 1001-1008    Link Here 
1001
            job = Job()
1001
            job = Job()
1002
            job.set_is_example(False)
1002
            job.set_is_example(False)
1003
            job.set_display_name(test)
1003
            job.set_display_name(test)
1004
            job.set_tmp_file_name(os.path.join(testpy_output_dir, "%s.xml" % test))
1004
            job.set_tmp_file_name(os.path.abspath(os.path.join(testpy_output_dir, "%s.xml" % test)))
1005
            job.set_cwd(os.getcwd())
1005
            job.set_cwd(testpy_output_dir)
1006
            job.set_basedir(os.getcwd())
1006
            job.set_basedir(os.getcwd())
1007
            if (options.multiple):
1007
            if (options.multiple):
1008
                multiple = " --multiple"
1008
                multiple = " --multiple"

Return to bug 736