From: Štěpán Balážik Date: Tue, 5 Aug 2025 14:51:14 +0000 (+0200) Subject: Fix the .hypothesis directory to bin/tests/system/.hypothesis X-Git-Tag: v9.21.11~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4e74ab8cd51a514424aa01fa96344f0f9f918c2;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/system/isctest/vars/dirs.py b/bin/tests/system/isctest/vars/dirs.py index 1ec52b69f74..88e8a81c8cb 100644 --- a/bin/tests/system/isctest/vars/dirs.py +++ b/bin/tests/system/isctest/vars/dirs.py @@ -20,6 +20,7 @@ from .build import BUILD_VARS, SYSTEM_TEST_DIR_GIT_PATH # type: ignore DIR_VARS = { "builddir": f"{BUILD_VARS['TOP_BUILDDIR']}/{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, }