From f37d6618305b07c08e657acd37266bdd5b2e5a7a Mon Sep 17 00:00:00 2001 From: Carlo Varni <75478407+CarloVarni@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:00:25 +0200 Subject: [PATCH 1/2] Fix Warning messages --- CI/test_coverage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CI/test_coverage.py b/CI/test_coverage.py index 06b13a06abb..1f2dc560e8c 100755 --- a/CI/test_coverage.py +++ b/CI/test_coverage.py @@ -41,7 +41,7 @@ def call(cmd): ret, gcovr_version_text = check_output(["gcovr", "--version"]) gcovr_version = tuple( - map(int, re.match("gcovr (\d+\.\d+)", gcovr_version_text).group(1).split(".")) + map(int, re.match(r"gcovr (\d+\.\d+)", gcovr_version_text).group(1).split(".")) ) extra_flags = [] @@ -63,7 +63,7 @@ def call(cmd): if not os.path.exists(coverage_dir): os.makedirs(coverage_dir) -excludes = ["-e", "../Tests/", "-e", ".*json\.hpp"] +excludes = ["-e", "../Tests/", "-e", ".*json.hpp"] # create the html report call( From d4b6827dbcdb4bb49319068b371c616adac08452 Mon Sep 17 00:00:00 2001 From: Carlo Varni <75478407+CarloVarni@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:16:38 +0200 Subject: [PATCH 2/2] Update CI/test_coverage.py Co-authored-by: Alexander J. Pfleger <70842573+AJPfleger@users.noreply.github.com> --- CI/test_coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI/test_coverage.py b/CI/test_coverage.py index 1f2dc560e8c..0488a71d85d 100755 --- a/CI/test_coverage.py +++ b/CI/test_coverage.py @@ -63,7 +63,7 @@ def call(cmd): if not os.path.exists(coverage_dir): os.makedirs(coverage_dir) -excludes = ["-e", "../Tests/", "-e", ".*json.hpp"] +excludes = ["-e", "../Tests/", "-e", r".*json\.hpp"] # create the html report call(