Subversion Repositories wimsdev

Rev

Rev 10183 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10183 Rev 10184
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
 
-
 
-
 
2
FILE="gcovout/index.html"
3
wimstest/test.sh
3
wimstest/test.sh
4
lcov --capture --directory src --output-file coverage.info
4
lcov --capture --directory src --output-file coverage.info
5
genhtml coverage.info --output-directory gcovout
5
genhtml coverage.info --output-directory gcovout
6
 
6
 
7
test=`xdg-open 2>/dev/null`
7
test=`xdg-open 2>/dev/null`
8
if [ "$test" ]; then
8
if [ "$test" ]; then
9
  xdg-open gcovout/index.html ;
9
  xdg-open $FILE ;
10
  exit
10
  exit
11
fi
11
fi
12
 
12
 
13
test=`open 2>/dev/null`
13
test=`open 2>/dev/null`
14
if [ !"$test" ]; then
14
if [ !"$test" ]; then
15
  open gcovout/index.html;
15
  open $FILE;
16
  exit
16
  exit
17
fi
17
fi
18
 
18