summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-18 10:36:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-18 10:36:27 -0500
commit130ee1e3f0bb1efc1e98c9b668ed91f7fb46ab79 (patch)
tree28c2a274c7427c53bf885d2be10173278cf543fd
parente669c22c82991012043423f42c37a4e742c85d76 (diff)
downloadpython-coveragepy-130ee1e3f0bb1efc1e98c9b668ed91f7fb46ab79.tar.gz
Add a "make smoke" target for a quick test run.
-rw-r--r--Makefile3
-rw-r--r--tests/test_process.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eb2434c..f9c43e8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,9 @@ pep8:
test:
tox -e py27,py35 $(ARGS)
+smoke:
+ COVERAGE_NO_PYTRACER=1 tox -e py27,py35 -- -n 6 -m "not expensive" $(ARGS)
+
metacov:
COVERAGE_COVERAGE=yes tox $(ARGS)
diff --git a/tests/test_process.py b/tests/test_process.py
index 81cd5ad..57639db 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -11,6 +11,8 @@ import re
import sys
import textwrap
+import pytest
+
import coverage
from coverage import env, CoverageData
from coverage.misc import output_encoding
@@ -692,6 +694,7 @@ class ProcessTest(CoverageTest):
self.assertEqual(len(infos), 1)
self.assertEqual(infos[0]['note'], u"These are musical notes: ♫𝅗𝅥♩")
+ @pytest.mark.expensive
def test_fullcoverage(self): # pragma: not covered
if env.PY2: # This doesn't work on Python 2.
self.skipTest("fullcoverage doesn't work on Python 2.")