Title: [98395] trunk/Tools
- Revision
- 98395
- Author
- [email protected]
- Date
- 2011-10-25 14:16:39 -0700 (Tue, 25 Oct 2011)
Log Message
make-script-test-wrappers should not look outside fast/js
https://bugs.webkit.org/show_bug.cgi?id=66357
Reviewed by Maciej Stachowiak.
* Scripts/make-script-test-wrappers: Don't look for template files everywhere, only support
fast/js.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (98394 => 98395)
--- trunk/Tools/ChangeLog 2011-10-25 21:11:00 UTC (rev 98394)
+++ trunk/Tools/ChangeLog 2011-10-25 21:16:39 UTC (rev 98395)
@@ -1,3 +1,13 @@
+2011-10-25 Alexey Proskuryakov <[email protected]>
+
+ make-script-test-wrappers should not look outside fast/js
+ https://bugs.webkit.org/show_bug.cgi?id=66357
+
+ Reviewed by Maciej Stachowiak.
+
+ * Scripts/make-script-test-wrappers: Don't look for template files everywhere, only support
+ fast/js.
+
2011-10-25 Adam Barth <[email protected]>
Add a --make option to update-webkit to engage the Makefile-based build system
Modified: trunk/Tools/Scripts/make-script-test-wrappers (98394 => 98395)
--- trunk/Tools/Scripts/make-script-test-wrappers 2011-10-25 21:11:00 UTC (rev 98394)
+++ trunk/Tools/Scripts/make-script-test-wrappers 2011-10-25 21:16:39 UTC (rev 98395)
@@ -48,7 +48,7 @@
);
if (!$result || $showHelp) {
- print STDERR basename($0) . " [-h|--help] [path ...]\n";
+ print STDERR basename($0) . " [-h|--help]\n";
exit 1;
}
@@ -124,18 +124,13 @@
}
sub findTemplateFiles(@) {
- my @args = @_;
my @templateFiles;
- push @args, "LayoutTests" if scalar(@args) == 0;
-
- my @paths = map { -f $_ ? dirname($_) : $_ } @args;
-
my $fileFilter = sub {
push @templateFiles, $File::Find::name if $_ eq "TEMPLATE.html";
};
- find({ preprocess => \&directoryFilter, wanted => $fileFilter }, @paths);
+ find({ preprocess => \&directoryFilter, wanted => $fileFilter }, "LayoutTests/fast/js");
return @templateFiles;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes