Changeset 12809 in webkit
- Timestamp:
- Feb 14, 2006 6:07:07 PM (18 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r12714 r12809 1 2006-02-14 Eric Seidel <eseidel@apple.com> 2 3 Reviewed by adele. 4 5 * Scripts/run-webkit-tests: added --results-directory (-o) option 6 1 7 2006-02-09 Eric Seidel <eseidel@apple.com> 2 8 -
trunk/WebKitTools/Scripts/run-webkit-tests
r12420 r12809 59 59 60 60 # Argument handling 61 my $test SVGs = '';61 my $testOnlySVGs = ''; 62 62 my $pixelTests = ''; 63 63 my $checkLeaks = ''; … … 68 68 my $report10Slowest = 0; 69 69 my $launchSafari = 1; 70 71 GetOptions('svg' => \$testSVGs, 70 my $testResultsDirectory = "/tmp/layout-test-results"; 71 72 GetOptions('svg' => \$testOnlySVGs, 72 73 'pixel-tests|p' => \$pixelTests, 73 74 'leaks|l' => \$checkLeaks, … … 77 78 'singly|1' => \$singly, 78 79 'slowest' => \$report10Slowest, 79 'launch-safari!' => \$launchSafari); 80 'launch-safari!' => \$launchSafari, 81 'results-directory|o=s' => \$testResultsDirectory); 80 82 81 83 my $dumpToolName = "DumpRenderTree"; 82 84 my $result = system "WebKitTools/Scripts/build-dumprendertree", @ARGV; 83 85 exit $result if $result; 84 if ($test SVGs) {86 if ($testOnlySVGs) { 85 87 $pixelTests = 1; # Pixel tests are always on for SVG. 86 88 } … … 92 94 93 95 checkFrameworks(); 94 my $haveSVGSupport = checkWebCoreSVGSupport($test SVGs);96 my $haveSVGSupport = checkWebCoreSVGSupport($testOnlySVGs); 95 97 96 98 my $layoutTestsName = "LayoutTests"; 97 if ($test SVGs) {99 if ($testOnlySVGs) { 98 100 $layoutTestsName = "LayoutTests/svg"; 99 101 } … … 101 103 my $workingDir = getcwd(); 102 104 my $testDirectory = "$workingDir/$layoutTestsName"; 103 my $testResultsDirectory = "/tmp/layout-test-results";104 105 my $testResults = "$testResultsDirectory/results.html"; 106 print "Running tests from $testDirectory\n"; 105 107 106 108 my @tests = (); … … 108 110 my $prunePart = "\\( -name resources \\! -prune \\)"; 109 111 my $extensionPart = "-name '*.html' -or -name '*.xml' -or -name '*.xhtml'"; 110 if ($test SVGs) {112 if ($testOnlySVGs) { 111 113 $extensionPart = "-name '*.svg' -or -name '*.xml'"; 112 114 } elsif ($haveSVGSupport) {
Note: See TracChangeset
for help on using the changeset viewer.