2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Improve pytest message when sanitizer report is found

This commit is contained in:
Tom Krizek 2023-08-09 17:49:27 +02:00
parent bc66bf146f
commit b1a9d1fe25
No known key found for this signature in database
GPG Key ID: 01623B9B652A20A7

View File

@ -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.