File: findcoverage.bat

package info (click to toggle)
openbabel 2.3.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 75,356 kB
  • ctags: 41,971
  • sloc: cpp: 321,256; ansic: 89,228; python: 7,262; perl: 6,418; pascal: 793; sh: 194; xml: 97; ruby: 55; makefile: 48; java: 23
file content (14 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@echo off
rem Run coverage.py under Windows
rem Creates a coverage report and the annotated file "pybel.py,cover"

set pythondir=C:\Python25
set coverage=D:\Tools\coverage\coverage-2.78\coverage.py

%pythondir%\python %coverage% -e
%pythondir%\python %coverage% -x testpybel.py
%pythondir%\python %coverage% -r %pythondir%\Lib\site-packages\pybel.py
%pythondir%\python %coverage% -a -d . %pythondir%\Lib\site-packages\pybel.py

echo.
echo Check pybel.py,cover for lines starting with !