2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

Fix the .hypothesis directory to bin/tests/system/.hypothesis

Previously the location of the .hypothesis directory would depend on the
current working directory when running pytest.

Set the HYPOTHESIS_STORAGE_DIRECTORY explicitly.
This commit is contained in:
Štěpán Balážik 2025-08-05 16:51:14 +02:00
parent 4a6835b51f
commit a4e74ab8cd

View File

@ -20,6 +20,7 @@ from .build import BUILD_VARS, SYSTEM_TEST_DIR_GIT_PATH # type: ignore
DIR_VARS = { DIR_VARS = {
"builddir": f"{BUILD_VARS['TOP_BUILDDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}", "builddir": f"{BUILD_VARS['TOP_BUILDDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}",
"srcdir": f"{BUILD_VARS['TOP_SRCDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}", "srcdir": f"{BUILD_VARS['TOP_SRCDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}",
"HYPOTHESIS_STORAGE_DIRECTORY": f"{BUILD_VARS['TOP_BUILDDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}/.hypothesis",
"SYSTESTDIR": None, "SYSTESTDIR": None,
} }