From b1a9d1fe251e09cc359966cdc90b25db2a46669b Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Wed, 9 Aug 2023 17:49:27 +0200 Subject: [PATCH] Improve pytest message when sanitizer report is found --- bin/tests/system/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py index f8c7e9c9e5..29799266e4 100644 --- a/bin/tests/system/conftest.py +++ b/bin/tests/system/conftest.py @@ -587,7 +587,7 @@ else: try: shell("get_core_dumps.sh", [system_test_dir.name]) except subprocess.CalledProcessError as exc: - mlogger.error("Found core dumps") + mlogger.error("Found core dumps or sanitizer reports") pytest.fail(f"get_core_dumps.sh exited with {exc.returncode}") os.environ.update(env) # Ensure pytests have the same env vars as shell tests.