diff options
-rw-r--r-- | CoverageTestRunner.py | 7 | ||||
-rw-r--r-- | NEWS | 9 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 18 insertions, 4 deletions
diff --git a/CoverageTestRunner.py b/CoverageTestRunner.py index 5378392..166dbb6 100644 --- a/CoverageTestRunner.py +++ b/CoverageTestRunner.py @@ -262,4 +262,9 @@ def run(dirname="."): if __name__ == "__main__": - run() + profname = os.environ.get('COVERAGE_TEST_RUNNER_PROFILE', None) + if profname is None: + run() + else: + import cProfile + cProfile.run('run()', profname) @@ -1,6 +1,15 @@ NEWS about CoverageTestRunner ============================= + +Version 1.4.1, released 2010-06-07 +-------------------------------- + +* Allow use of profiling (via cProfile), by setting + COVERAGE_TEST_RUNNER_PROFILE environment variable. This will let you + find out why the test suite is slow. + + Version 1.3, released 2009-11-18 -------------------------------- diff --git a/debian/changelog b/debian/changelog index 6d256a6..fa05cc6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ -python-coverage-test-runner (1.4) squeeze; urgency=low +python-coverage-test-runner (1.4.1) squeeze; urgency=low - * Build for Debian squeeze. + * New upstream version. -- Lars Wirzenius <liw@liw.fi> Mon, 05 Apr 2010 15:52:00 +1200 @@ -1,7 +1,7 @@ from distutils.core import setup setup(name='CoverageTestRunner', - version='1.3', + version='1.4.1', description='run unittests', author='Lars Wirzenius', author_email='liw@liw.fi', |