From 63fac3e9f7913865de440e7c02804ddbc2d460a5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 9 Jun 2013 11:30:20 +0100 Subject: Run coverage test runner with exclusions --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 108841a..d42add3 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,9 @@ class Check(Command): pass def run(self): - subprocess.check_call(['python', '-m', 'CoverageTestRunner']) + subprocess.check_call( + ['python', '-m', 'CoverageTestRunner', + '--ignore-missing-from', 'without-tests']) os.remove('.coverage') subprocess.check_call(['./cmdtest', 'echo-tests']) -- cgit v1.2.1