/[jscoverage]/trunk/tests/javascript-huge.sh
ViewVC logotype

Diff of /trunk/tests/javascript-huge.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 471 by siliconforks, Sun Oct 4 04:43:45 2009 UTC revision 472 by siliconforks, Sun Oct 4 04:45:45 2009 UTC
# Line 27  Line 27 
27  # huge JavaScript file  # huge JavaScript file
28  mkdir -p DIR  mkdir -p DIR
29  perl -e 'for (1 .. 65536) {print "x = $_\n";}' > DIR/big.js  perl -e 'for (1 .. 65536) {print "x = $_\n";}' > DIR/big.js
30  $VALGRIND jscoverage --no-highlight DIR DIR2 > OUT 2> ERR  $VALGRIND jscoverage DIR DIR2 > OUT 2> ERR
31  test ! -s OUT  test ! -s OUT
32  test ! -s ERR  test ! -s ERR
33  grep -q -F "_\$jscoverage['big.js'][65536] = 0;" DIR2/big.js  grep -q -F "_\$jscoverage['big.js'][65536] = 0;" DIR2/big.js

Legend:
Removed from v.471  
changed lines
  Added in v.472

  ViewVC Help
Powered by ViewVC 1.1.24