From a4e74ab8cd51a514424aa01fa96344f0f9f918c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Tue, 5 Aug 2025 16:51:14 +0200 Subject: [PATCH] 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. --- bin/tests/system/isctest/vars/dirs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tests/system/isctest/vars/dirs.py b/bin/tests/system/isctest/vars/dirs.py index 1ec52b69f7..88e8a81c8c 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, }