Subversion Repositories wimsdev

Rev

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

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