/[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 68 by siliconforks, Thu Nov 22 01:42:50 2007 UTC revision 113 by siliconforks, Sat May 31 21:24:49 2008 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #    recursive.sh - test recursive directory instrumentation  #    recursive.sh - test recursive directory instrumentation
3  #    Copyright (C) 2007 siliconforks.com  #    Copyright (C) 2007, 2008 siliconforks.com
4  #  #
5  #    This program is free software; you can redistribute it and/or modify  #    This program is free software; you can redistribute it and/or modify
6  #    it under the terms of the GNU General Public License as published by  #    it under the terms of the GNU General Public License as published by
# Line 25  Line 25 
25  rm -fr DIR  rm -fr DIR
26  rm -fr EXPECTED  rm -fr EXPECTED
27  cp -r recursive.expected EXPECTED  cp -r recursive.expected EXPECTED
 cp recursive/script.js EXPECTED/script.js.jscoverage.js  
 cp recursive/1/1.js EXPECTED/1/1.js.jscoverage.js  
 cp recursive/1/2/2.js EXPECTED/1/2/2.js.jscoverage.js  
28  find EXPECTED -name .svn | xargs rm -fr  find EXPECTED -name .svn | xargs rm -fr
29    cat recursive.expected/script.js | sed 's/@PREFIX@//g' > EXPECTED/script.js
30    cat recursive.expected/1/1.js | sed 's/@PREFIX@//g' > EXPECTED/1/1.js
31    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 --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive DIR

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

  ViewVC Help
Powered by ViewVC 1.1.24