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 |