diff --git a/integration_tests/test_coverage.py b/integration_tests/test_coverage.py index 1a7fd3b..00beacd 100644 --- a/integration_tests/test_coverage.py +++ b/integration_tests/test_coverage.py @@ -82,7 +82,7 @@ def _get_current_coverage(coverage_config, no_cleanup, test_scope): additional_exclude_path = coverage_config["exclude_path"] if additional_exclude_path: - llvm_cov_command += f" --ignore-filename-regex {additional_exclude_path}" + llvm_cov_command += f" --ignore-filename-regex \"{additional_exclude_path}\"" if test_scope == pytest.workspace: llvm_cov_command += " --workspace "