⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 98395 in webkit


Ignore:
Timestamp:
Oct 25, 2011, 2:16:39 PM (15 years ago)
Author:
ap@apple.com
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r98390 r98395  
     12011-10-25  Alexey Proskuryakov  <ap@apple.com>
     2
     3        make-script-test-wrappers should not look outside fast/js
     4        https://bugs.webkit.org/show_bug.cgi?id=66357
     5
     6        Reviewed by Maciej Stachowiak.
     7
     8        * Scripts/make-script-test-wrappers: Don't look for template files everywhere, only support
     9        fast/js.
     10
    1112011-10-25  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Tools/Scripts/make-script-test-wrappers

    r54033 r98395  
    4949
    5050if (!$result || $showHelp) {
    51     print STDERR basename($0) . " [-h|--help] [path ...]\n";
     51    print STDERR basename($0) . " [-h|--help]\n";
    5252    exit 1;
    5353}
     
    125125
    126126sub findTemplateFiles(@) {
    127     my @args = @_;
    128127    my @templateFiles;
    129 
    130     push @args, "LayoutTests" if scalar(@args) == 0;
    131 
    132     my @paths = map { -f $_ ? dirname($_) : $_ } @args;
    133128
    134129    my $fileFilter = sub {
     
    136131    };
    137132
    138     find({ preprocess => \&directoryFilter, wanted => $fileFilter }, @paths);
     133    find({ preprocess => \&directoryFilter, wanted => $fileFilter }, "LayoutTests/fast/js");
    139134
    140135    return @templateFiles;
Note: See TracChangeset for help on using the changeset viewer.