File: check_coverage.sh

package info (click to toggle)
pyjamas 0.7~%2Bpre2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,656 kB
  • ctags: 12,331
  • sloc: python: 74,493; php: 805; sh: 291; makefile: 59; xml: 9
file content (12 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# prerequisities: python-coverage

OUTPUT=coverage_report

if [ ! -d $OUTPUT ]; then mkdir $OUTPUT; fi
rm $OUTPUT/*,cover
python-coverage -x compile_only.py
python-coverage -a -o /usr -d coverage_report
python-coverage -r -o /usr -d coverage_report