/[jscoverage]/trunk/tests/instrumented-source-directory.sh
ViewVC logotype

Diff of /trunk/tests/instrumented-source-directory.sh

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

revision 456 by siliconforks, Sun Jul 26 17:09:09 2009 UTC revision 457 by siliconforks, Fri Sep 18 22:14:06 2009 UTC
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21  trap 'rm -fr DIR OUT ERR' 1 2 3 15  trap 'rm -fr DIR DIR2 OUT ERR' 1 2 3 15
22    
23  export PATH=.:..:$PATH  export PATH=.:..:$PATH
24    
25  $VALGRIND jscoverage --no-highlight --exclude=.svn --exclude=1/.svn --exclude=1/2/.svn recursive.expected DIR > OUT 2> ERR && exit 1  rm -fr DIR DIR2 OUT ERR
26    
27    mkdir DIR
28    cp recursive.expected/image.png DIR
29    cp recursive.expected/index.html DIR
30    cp recursive.expected/script.js DIR
31    cp recursive.expected/style.css DIR
32    cp recursive.expected/unix.txt DIR
33    cp recursive.expected/windows.txt DIR
34    cp recursive.expected/x DIR
35    $VALGRIND jscoverage --no-highlight DIR DIR2 > OUT 2> ERR && exit 1
36  test ! -s OUT  test ! -s OUT
37  test -s ERR  test -s ERR
38  diff --strip-trailing-cr instrumented-source-directory.expected.err ERR  diff --strip-trailing-cr instrumented-source-directory.expected.err ERR
39    
40  rm -fr DIR OUT ERR  rm -fr DIR DIR2 OUT ERR

Legend:
Removed from v.456  
changed lines
  Added in v.457

  ViewVC Help
Powered by ViewVC 1.1.24