summaryrefslogtreecommitdiffstats
path: root/test/exitfns.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/exitfns.py')
-rw-r--r--test/exitfns.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/exitfns.py b/test/exitfns.py
index d1bda3a..dcd8762 100644
--- a/test/exitfns.py
+++ b/test/exitfns.py
@@ -28,6 +28,12 @@ import TestSCons
test = TestSCons.TestSCons()
+# also exclude these tests since it overides the exit function which doesnt work with coverage
+# # more info here: https://coverage.readthedocs.io/en/coverage-4.4.2/subprocess.html#
+# TODO: figure out how to cover tests which use exit functions
+if 'COVERAGE_PROCESS_START' in os.environ:
+ test.skip_test("This test replaces the exit function which is needed by coverage to write test data; skipping test.")
+
sconstruct = """
from SCons.exitfuncs import *