Changeset 48660 in webkit


Ignore:
Timestamp:
Sep 22, 2009 5:16:33 PM (15 years ago)
Author:
eric@webkit.org
Message:

2009-09-22 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Eric Seidel.

js tests should move into jstests subdirectory instead of resources/
https://bugs.webkit.org/show_bug.cgi?id=25880

Remove support of resources directory.

  • Scripts/make-script-test-wrappers:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r48655 r48660  
     12009-09-22  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        js tests should move into jstests subdirectory instead of resources/
     6        https://bugs.webkit.org/show_bug.cgi?id=25880
     7
     8        Remove support of resources directory.
     9
     10        * Scripts/make-script-test-wrappers:
     11
    1122009-09-22  Eric Seidel  <eric@webkit.org>
    213
  • trunk/WebKitTools/Scripts/make-script-test-wrappers

    r48252 r48660  
    6565    my $templateDirectory;
    6666    my $templateRelativePath;
    67     if ($tpath =~ s:/(resources)/TEMPLATE.html$:: || $tpath =~ s:/(script-tests)/TEMPLATE.html$::) {
     67    if ($tpath =~ s:/(script-tests)/TEMPLATE.html$::) {
    6868        $templateDirectory = $1;
    6969        $templateRelativePath = $1 . "/TEMPLATE.html";
     
    9696
    9797    for my $file (@files) {
    98         next if $file =~ /js-test-.*\.js$/;
    99         next if $file =~ /cookies-test-(post|pre)\.js$/;
    100         next if $file =~ /standalone-.*\.js$/;
    101         next if $file =~ /SVGTestCase\.js/;
    102         next if $file =~ /WMLTestCase\.js/;
    103 
    104         next if $file =~ m:resources/bom-in-file-retains-correct-offset\.js$:; # has a custom template
    105         next if $file =~ m:resources/NSResolver-exceptions\.js$:;
    106         next if $file =~ m:resources/WindowProperties\.js$:;
    107         next if $file =~ m:resources/altGlyph-dom\.js$:;
    108         next if $file =~ m:resources/attr-case-sensitivity\.js$:;
    109         next if $file =~ m:resources/box-orient-button\.js$:;
    110         next if $file =~ m:resources/box-shadow-overflow-scroll\.js$:;
    111         next if $file =~ m:resources/canvas-2d-imageData-create-nonfinite\.js$:;
    112         next if $file =~ m:resources/codegen-temporaries-multiple-global-blocks-1\.js$:;
    113         next if $file =~ m:resources/codegen-temporaries-multiple-global-blocks-2\.js$:;
    114         next if $file =~ m:resources/const\.js$:;
    115         next if $file =~ m:resources/constructors-cached-navigate\.js$:;
    116         next if $file =~ m:resources/error\.js$:;
    117         next if $file =~ m:resources/frame-loading-via-document-write\.js$:;
    118         next if $file =~ m:resources/id-fastpath-almost-strict\.js$:;
    119         next if $file =~ m:resources/id-fastpath-strict\.js$:;
    120         next if $file =~ m:resources/intersectsNode\.js$:;
    121         next if $file =~ m:resources/p-in-scope\.js$:;
    122         next if $file =~ m:resources/paste-blockquote-before-blockquote\.js$:;
    123         next if $file =~ m:resources/permission-denied\.js$:;
    124         next if $file =~ m:resources/permission-denied-stops-watches\.js$:;
    125         next if $file =~ m:resources/position-string\.js$:;
    126         next if $file =~ m:resources/reflection-overflow-scroll\.js$:;
    127         next if $file =~ m:resources/script-element-gc\.js$:;
    128         next if $file =~ m:resources/script-element-gc\.js$:;
    129         next if $file =~ m:resources/script3\.js$:;
    130         next if $file =~ m:resources/script4\.js$:;
    131         next if $file =~ m:resources/script5\.js$:;
    132         next if $file =~ m:resources/scripted-random\.js$:;
    133         next if $file =~ m:resources/select-options-remove\.js$:;
    134         next if $file =~ m:resources/shadow-offset\.js$:;
    135         next if $file =~ m:resources/success\.js$:;
    136         next if $file =~ m:resources/tabindex-focus-blur-all\.js$:;
    137         next if $file =~ m:resources/use-instanceRoot-event-bubbling\.js$:;
    138         next if $file =~ m:resources/use-instanceRoot-event-listeners\.js$:;
    139         next if $file =~ m:resources/watch\.js$:;
    140         next if $file =~ m:resources/window-properties\.js$:;
    141         next if $file =~ m:resources/wrapper-identity-base\.js$:;
    142         next if $file =~ m:resources/xhtml-scripts\.js$:;
    143         next if $file =~ m:resources/instanceof-operator-dummy-worker\.js$:;
    144         next if $file =~ m:resources/json2-es5-compat\.js$:;
    145         next if $file =~ m:resources/JSON-stringify\.js$:;
    146         next if $file =~ m:resources/JSON-parse\.js$:;
    147         next if $file =~ m:resources/textarea-input-event\.js$:;
    148 
    14998        my $html = $file;
    15099        $html =~ s:${templateDirectory}/(.*)\.js:$1.html:;
Note: See TracChangeset for help on using the changeset viewer.