diff options
author | Daniel Moody <dmoody256@gmail.com> | 2018-01-17 04:31:47 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2018-01-17 04:31:47 (GMT) |
commit | 74080a2f9ce5595a7fb9d88433cec9c83c99969c (patch) | |
tree | 3c709cd9e1ed3e0e0fd9e0ef6ed4ae8ffb35bd97 /test/exitfns.py | |
parent | a90dd653a51ac7be36122a456b3667fe45d30154 (diff) | |
download | SCons-74080a2f9ce5595a7fb9d88433cec9c83c99969c.zip SCons-74080a2f9ce5595a7fb9d88433cec9c83c99969c.tar.gz SCons-74080a2f9ce5595a7fb9d88433cec9c83c99969c.tar.bz2 |
moved coverage check for tests to common location.
Diffstat (limited to 'test/exitfns.py')
-rw-r--r-- | test/exitfns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exitfns.py b/test/exitfns.py index c0da861..fca44b8 100644 --- a/test/exitfns.py +++ b/test/exitfns.py @@ -31,7 +31,7 @@ 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: +if test.coverage_run(): test.skip_test("This test replaces the exit function which is needed by coverage to write test data; skipping test.") sconstruct = """ |