From cad276168741b5494cb71759f9cfcacd8e29d024 Mon Sep 17 00:00:00 2001 From: Lari-Matias Orjala Date: Thu, 13 Sep 2018 20:30:08 +0300 Subject: [PATCH] fix coverage exclude paths on Windows --- UNITTESTS/unit_test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UNITTESTS/unit_test/test.py b/UNITTESTS/unit_test/test.py index 80bbd106d7f..889b0a35b32 100644 --- a/UNITTESTS/unit_test/test.py +++ b/UNITTESTS/unit_test/test.py @@ -134,7 +134,7 @@ def _get_coverage_script(self, coverage_type, excludes): "./coverage.xml"]) for path in excludes: - args.extend(["-e", path]) + args.extend(["-e", path.replace("\\", "/")]) if logging.getLogger().getEffectiveLevel() == logging.DEBUG: args.append("-v")