diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-06-07 17:01:17 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-06-07 17:01:17 +1200 |
commit | 1dc93803b623d7b11cfd5a7bbdae55dc13ac1e07 (patch) | |
tree | 886d950725a23b9ce0af330b4a2256dfc8404b35 | |
parent | 1b5788889d5d987aba5eafdd5838c0f4d0658b27 (diff) | |
download | python-coverage-test-runner-1dc93803b623d7b11cfd5a7bbdae55dc13ac1e07.tar.gz |
Release version 1.4.1, with profiling support.
-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', |