/[jscoverage]/trunk/tests/recursive.sh
ViewVC logotype

Diff of /trunk/tests/recursive.sh

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

revision 113 by siliconforks, Sat May 31 21:24:49 2008 UTC revision 181 by siliconforks, Sun Sep 21 18:42:02 2008 UTC
# Line 31  Line 31 
31  cat recursive.expected/1/2/2.js | sed 's/@PREFIX@//g' > EXPECTED/1/2/2.js  cat recursive.expected/1/2/2.js | sed 's/@PREFIX@//g' > EXPECTED/1/2/2.js
32  cp ../jscoverage*.css ../jscoverage*.gif ../jscoverage*.html ../jscoverage*.js EXPECTED  cp ../jscoverage*.css ../jscoverage*.gif ../jscoverage*.html ../jscoverage*.js EXPECTED
33    
34  $VALGRIND jscoverage --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive DIR  $VALGRIND jscoverage --no-highlight --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive DIR
35  test -d DIR  test -d DIR
36  diff --strip-trailing-cr -r EXPECTED DIR  diff --strip-trailing-cr -r EXPECTED DIR
37    
38  $VALGRIND jscoverage --verbose --exclude .svn --exclude 1/.svn --exclude 1/2/.svn recursive DIR >OUT  $VALGRIND jscoverage --no-highlight --verbose --exclude .svn --exclude 1/.svn --exclude 1/2/.svn recursive DIR >OUT
39  test -d DIR  test -d DIR
40  sort OUT -o OUT  sort OUT -o OUT
41  diff --strip-trailing-cr verbose.expected.out OUT  diff --strip-trailing-cr verbose.expected.out OUT
42  diff --strip-trailing-cr -r EXPECTED DIR  diff --strip-trailing-cr -r EXPECTED DIR
43    
44  # does it handle an argument with a slash at the end?  # does it handle an argument with a slash at the end?
45  $VALGRIND jscoverage --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive/ DIR  $VALGRIND jscoverage --no-highlight --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive/ DIR
46  diff --strip-trailing-cr -r EXPECTED DIR  diff --strip-trailing-cr -r EXPECTED DIR
47  $VALGRIND jscoverage --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive DIR/  $VALGRIND jscoverage --no-highlight --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive DIR/
48  diff --strip-trailing-cr -r EXPECTED DIR  diff --strip-trailing-cr -r EXPECTED DIR
49  $VALGRIND jscoverage --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive/ DIR/  $VALGRIND jscoverage --no-highlight --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive/ DIR/
50  diff --strip-trailing-cr -r EXPECTED DIR  diff --strip-trailing-cr -r EXPECTED DIR
51    
52  rm -fr EXPECTED DIR OUT  rm -fr EXPECTED DIR OUT

Legend:
Removed from v.113  
changed lines
  Added in v.181

  ViewVC Help
Powered by ViewVC 1.1.24