Files
openbabel/scripts/python/examples/findcoverage.bat
Noel O'Boyle 37588a1d49 * scripts/python/pybel.py, scripts/python/examples/testpybel.py:
Updated to use plugin descriptors. Changed to create a single instance
	of plugin descriptors and fingerprinters. Also, readfile now raises an
	IOError if the file does not exist.
	* scripts/python/examples/findcoverage.bat: Add .bat file to automate
	calculation of code coverage for pybel
2008-01-17 12:08:31 +00:00

15 lines
500 B
Batchfile

@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 !