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:
parent
bc66bf146f
commit
b1a9d1fe25
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user