Subversion Repositories wimsdev

Rev

Rev 10183 | Details | Compare with Previous | Last modification | View Log | RSS feed

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