summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-06-07 17:01:17 +1200
committerLars Wirzenius <liw@liw.fi>2010-06-07 17:01:17 +1200
commit1dc93803b623d7b11cfd5a7bbdae55dc13ac1e07 (patch)
tree886d950725a23b9ce0af330b4a2256dfc8404b35
parent1b5788889d5d987aba5eafdd5838c0f4d0658b27 (diff)
downloadpython-coverage-test-runner-1dc93803b623d7b11cfd5a7bbdae55dc13ac1e07.tar.gz
Release version 1.4.1, with profiling support.
-rw-r--r--CoverageTestRunner.py7
-rw-r--r--NEWS9
-rw-r--r--debian/changelog4
-rw-r--r--setup.py2
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)
diff --git a/NEWS b/NEWS
index ab4f4aa..8ff12b4 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/setup.py b/setup.py
index 1bb9375..b1fbd8c 100644
--- a/setup.py
+++ b/setup.py
@@ -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',