Changeset 54033 in webkit


Ignore:
Timestamp:
Jan 28, 2010 5:32:49 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-28 Hayato Ito <hayato@chromium.org>

Reviewed by David Levin.

Remove NULL char from input JS file because 'grep' fails if the file contains NULL char.

https://bugs.webkit.org/show_bug.cgi?id=34252

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r54021 r54033  
     12010-01-28  Hayato Ito  <hayato@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Remove NULL char from input JS file because 'grep' fails if the file contains NULL char.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=34252
     8
     9        * Scripts/make-script-test-wrappers:
     10
    1112010-01-28  Kevin Ollivier  <kevino@theolliviers.com>
    212
  • trunk/WebKitTools/Scripts/make-script-test-wrappers

    r48660 r54033  
    100100        next if -f "$html-disabled";
    101101
    102         system("grep -q 'successfullyParsed =' $file");
     102        system("cat ${file} | tr '\\0' ' ' | grep -q 'successfullyParsed ='");
    103103        if ($? != 0) {
    104104            `echo "" >> "${file}"`;
Note: See TracChangeset for help on using the changeset viewer.