mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +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:
|
try:
|
||||||
shell("get_core_dumps.sh", [system_test_dir.name])
|
shell("get_core_dumps.sh", [system_test_dir.name])
|
||||||
except subprocess.CalledProcessError as exc:
|
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}")
|
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.
|
os.environ.update(env) # Ensure pytests have the same env vars as shell tests.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user