Skip to content

Instantly share code, notes, and snippets.

@kkristof
Created June 6, 2011 11:26
Show Gist options
  • Save kkristof/1010094 to your computer and use it in GitHub Desktop.
Save kkristof/1010094 to your computer and use it in GitHub Desktop.
ORWT
diff --git a/Tools/Scripts/old-run-webkit-tests b/Tools/Scripts/old-run-webkit-tests
index aee48a6..9e7c4a5 100755
--- a/Tools/Scripts/old-run-webkit-tests
+++ b/Tools/Scripts/old-run-webkit-tests
@@ -2130,9 +2130,10 @@ sub buildPlatformResultHierarchy()
my $isMac = $platform =~ /^mac/;
my $isWin = $platform =~ /^win/;
+ my $isWk2 = $platform =~ /-wk2/;
if ($isMac || $isWin) {
my $effectivePlatform = $platform;
- if ($platform eq "mac-wk2" || $platform eq "win-wk2") {
+ if ($isWk2) {
push @platforms, $platform;
$effectivePlatform = $realPlatform;
}
@@ -2154,6 +2155,9 @@ sub buildPlatformResultHierarchy()
} else {
@platforms = $platform;
}
+ if ($isWk2) {
+ push @platforms, "wk2";
+ }
my @hierarchy;
for (my $i = 0; $i < @platforms; $i++) {
@@ -2431,11 +2435,6 @@ sub readSkippedFiles($)
my @skippedFileDirectories = @platformTestHierarchy;
- # Because nearly all of the skipped tests for WebKit 2 on Mac are due to
- # cross-platform issues, the Windows and Qt ports use the Mac skipped list
- # additionally to their own to avoid maintaining separate lists.
- push(@skippedFileDirectories, catdir($platformBaseDirectory, "mac-wk2")) if ($platform eq "win-wk2" || $platform eq "qt-wk2");
-
foreach my $level (@skippedFileDirectories) {
if (open SKIPPED, "<", "$level/Skipped") {
if ($verbose) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment