Changeset 102594 in webkit
- Timestamp:
- Dec 12, 2011 9:48:33 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r102592 r102594 1 2011-12-12 Ádám Kallai <Kallai.Adam@stud.u-szeged.hu> 2 3 [Qt] Fix skip list search path and expected file search path in ORWT 4 https://bugs.webkit.org/show_bug.cgi?id=74281 5 6 Expected file search path fixed. 7 8 Print all used skipped list and expected search path in verbose mode similar to NRWT. 9 10 Reviewed by Csaba Osztrogonác. 11 12 * Scripts/old-run-webkit-tests: 13 (buildPlatformResultHierarchy): 14 (buildPlatformTestHierarchy): 15 (readSkippedFiles): 16 1 17 2011-12-12 Nándor Huszka <huszka.nandor@stud.u-szeged.hu> 2 18 -
trunk/Tools/Scripts/old-run-webkit-tests
r101169 r102594 233 233 } 234 234 } elsif (isQt()) { 235 if (isDarwin()) { 236 $platform = "qt-mac"; 237 } elsif (isARM()) { 238 $platform = "qt-arm"; 239 } elsif (getQtVersion() eq "4.8") { 240 $platform = "qt-4.8"; 241 } elsif (getQtVersion() eq "5.0") { 242 $platform = "qt-5.0"; 243 } elsif (isLinux()) { 244 $platform = "qt-linux"; 245 } elsif (isWindows() || isCygwin()) { 246 $platform = "qt-win"; 247 } else { 248 $platform = "qt"; 249 } 235 $platform = "qt"; 250 236 } elsif (isGtk()) { 251 237 $platform = "gtk"; … … 2199 2185 @platforms = $platform; 2200 2186 } 2201 } elsif ($platform =~ /^qt-/) { 2202 push @platforms, $platform; 2187 } elsif ($platform =~ /^qt/) { 2188 if ($platform eq "qt-wk2") { 2189 push @platforms, $platform; 2190 } 2191 2192 if (isARM() || $platform eq "qt-arm") { 2193 push @platforms, "qt-arm"; 2194 } 2195 2196 if (isDarwin() || $platform eq "qt-mac") { 2197 push @platforms, "qt-mac"; 2198 } 2199 elsif (isWindows() || isCygwin() || $platform eq "qt-win") { 2200 push @platforms, "qt-win"; 2201 } 2202 elsif (isLinux() || $platform eq "qt-linux") { 2203 push @platforms, "qt-linux"; 2204 } 2205 2206 if (getQtVersion() eq "4.8" || $platform eq "qt-4.8") { 2207 push @platforms, "qt-4.8"; 2208 } 2209 elsif (getQtVersion() eq "5.0" || $platform eq "qt-5.0") { 2210 push @platforms, "qt-5.0"; 2211 } 2212 2203 2213 push @platforms, "qt"; 2204 2214 } elsif ($platform =~ /^gtk-/) { … … 2224 2234 my (@platformHierarchy) = @_; 2225 2235 2226 my $wk2Platform;2227 for (my $i = 0; $i < @platformHierarchy; ++$i) {2228 if ($platformHierarchy[$i] =~ /-wk2/) {2229 $wk2Platform = splice @platformHierarchy, $i, 1;2230 last;2231 }2232 }2233 2234 2236 my @result; 2235 push @result, $platformHierarchy[0]; 2236 push @result, $wk2Platform if defined $wk2Platform; 2237 push @result, $platformHierarchy[$#platformHierarchy] if @platformHierarchy >= 2; 2237 if ($platform =~ /^qt/) { 2238 for (my $i = 0; $i < @platformHierarchy; ++$i) { 2239 push @result, $platformHierarchy[$i]; 2240 } 2241 } else { 2242 my $wk2Platform; 2243 for (my $i = 0; $i < @platformHierarchy; ++$i) { 2244 if ($platformHierarchy[$i] =~ /-wk2/) { 2245 $wk2Platform = splice @platformHierarchy, $i, 1; 2246 last; 2247 } 2248 } 2249 2250 push @result, $platformHierarchy[0]; 2251 push @result, $wk2Platform if defined $wk2Platform; 2252 push @result, $platformHierarchy[$#platformHierarchy] if @platformHierarchy >= 2; 2253 } 2254 2255 if ($verbose) { 2256 my @searchPaths; 2257 foreach my $searchPath (@result) { 2258 my ($dir, $name) = splitpath($searchPath); 2259 push @searchPaths, $name; 2260 } 2261 my $searchPathHierarchy = join(' -> ', @searchPaths); 2262 print "Baseline search path: $searchPathHierarchy\n"; 2263 } 2238 2264 2239 2265 return @result; … … 2492 2518 # Add Qt WK1-only skipped tests. 2493 2519 push(@skippedFileDirectories, catdir($platformBaseDirectory, "qt-wk1")) if (isQt() && !$useWebKitTestRunner); 2520 2521 if ($verbose) { 2522 foreach my $skippedPath (@skippedFileDirectories) { 2523 print "Using Skipped file: $skippedPath\n"; 2524 } 2525 } 2494 2526 2495 2527 foreach my $level (@skippedFileDirectories) {
Note: See TracChangeset
for help on using the changeset viewer.