Changeset 12809 in webkit


Ignore:
Timestamp:
Feb 14, 2006 6:07:07 PM (18 years ago)
Author:
eseidel
Message:

2006-02-14 Eric Seidel <eseidel@apple.com>

Reviewed by adele.

  • Scripts/run-webkit-tests: added --results-directory (-o) option
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r12714 r12809  
     12006-02-14  Eric Seidel  <eseidel@apple.com>
     2
     3        Reviewed by adele.
     4
     5        * Scripts/run-webkit-tests: added --results-directory (-o) option
     6
    172006-02-09  Eric Seidel  <eseidel@apple.com>
    28
  • trunk/WebKitTools/Scripts/run-webkit-tests

    r12420 r12809  
    5959
    6060# Argument handling
    61 my $testSVGs = '';
     61my $testOnlySVGs = '';
    6262my $pixelTests = '';
    6363my $checkLeaks = '';
     
    6868my $report10Slowest = 0;
    6969my $launchSafari = 1;
    70 
    71 GetOptions('svg' => \$testSVGs,
     70my $testResultsDirectory = "/tmp/layout-test-results";
     71
     72GetOptions('svg' => \$testOnlySVGs,
    7273    'pixel-tests|p' => \$pixelTests,
    7374    'leaks|l' => \$checkLeaks,
     
    7778    'singly|1' => \$singly,
    7879    'slowest' => \$report10Slowest,
    79     'launch-safari!' => \$launchSafari);
     80    'launch-safari!' => \$launchSafari,
     81    'results-directory|o=s' => \$testResultsDirectory);
    8082
    8183my $dumpToolName = "DumpRenderTree";
    8284my $result = system "WebKitTools/Scripts/build-dumprendertree", @ARGV;
    8385exit $result if $result;
    84 if ($testSVGs) {
     86if ($testOnlySVGs) {
    8587    $pixelTests = 1; # Pixel tests are always on for SVG.
    8688}
     
    9294
    9395checkFrameworks();
    94 my $haveSVGSupport = checkWebCoreSVGSupport($testSVGs);
     96my $haveSVGSupport = checkWebCoreSVGSupport($testOnlySVGs);
    9597
    9698my $layoutTestsName = "LayoutTests";
    97 if ($testSVGs) {
     99if ($testOnlySVGs) {
    98100    $layoutTestsName = "LayoutTests/svg";
    99101}
     
    101103my $workingDir = getcwd();
    102104my $testDirectory = "$workingDir/$layoutTestsName";
    103 my $testResultsDirectory = "/tmp/layout-test-results";
    104105my $testResults = "$testResultsDirectory/results.html";
     106print "Running tests from $testDirectory\n";
    105107
    106108my @tests = ();
     
    108110my $prunePart = "\\( -name resources \\! -prune \\)";
    109111my $extensionPart = "-name '*.html' -or -name '*.xml' -or -name '*.xhtml'";
    110 if ($testSVGs) {
     112if ($testOnlySVGs) {
    111113    $extensionPart = "-name '*.svg' -or -name '*.xml'";
    112114} elsif ($haveSVGSupport) {
Note: See TracChangeset for help on using the changeset viewer.