Changeset 79819 in webkit


Ignore:
Timestamp:
Feb 27, 2011 9:29:35 AM (13 years ago)
Author:
Adam Roben
Message:

Ensure $testResultsDirectory is an absolute path before setting up Windows crash log saving

Windows 7 (and maybe Vista?) launches the post-mortem debugger with a working directory that
is different from old-run-webkit-test's. Because of this, the path to the crash log file
(which is relative to $testResultsDirectory) must be an absolute path. See the bug for more
details.

Fixes <http://webkit.org/b/55318> Crash logs aren't saved on Windows 7 when a relative
--results-directory path is used (like on the test slaves)

Reviewed by Dan Bernstein.

  • Scripts/old-run-webkit-tests: Moved the call to setUpWindowsCrashLogSaving after we've

made $testResultsDirectory an absolute path.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r79813 r79819  
     12011-02-27  Adam Roben  <aroben@apple.com>
     2
     3        Ensure $testResultsDirectory is an absolute path before setting up Windows crash log saving
     4
     5        Windows 7 (and maybe Vista?) launches the post-mortem debugger with a working directory that
     6        is different from old-run-webkit-test's. Because of this, the path to the crash log file
     7        (which is relative to $testResultsDirectory) must be an absolute path. See the bug for more
     8        details.
     9
     10        Fixes <http://webkit.org/b/55318> Crash logs aren't saved on Windows 7 when a relative
     11        --results-directory path is used (like on the test slaves)
     12
     13        Reviewed by Dan Bernstein.
     14
     15        * Scripts/old-run-webkit-tests: Moved the call to setUpWindowsCrashLogSaving after we've
     16        made $testResultsDirectory an absolute path.
     17
    1182011-02-26  Dominic Mazzoni  <dmazzoni@google.com>
    219
  • trunk/Tools/Scripts/old-run-webkit-tests

    r79698 r79819  
    404404$useRemoteLinksToTests = 0 if isGtk();
    405405
    406 setUpWindowsCrashLogSaving() if isCygwin();
    407 
    408406setConfigurationProductDir(Cwd::abs_path($root)) if (defined($root));
    409407my $productDir = productDir();
     
    465463        exit 1;
    466464    }
    467 }
    468 
     465} elsif (isCygwin()) {
     466    setUpWindowsCrashLogSaving();
     467}
    469468
    470469print "Running tests from $testDirectory\n";
Note: See TracChangeset for help on using the changeset viewer.