mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 10:30:00 -04:00
[9.18] fix: test: 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. Closes #5424 Backport of MR !10825 Merge branch 'backport-5424-hypothesis-artifacts-9.18' into 'bind-9.18' See merge request isc-projects/bind9!10829
This commit is contained in:
commit
354fceac2c
1 changed files with 3 additions and 0 deletions
|
|
@ -315,6 +315,9 @@ def env(ports):
|
|||
env[portname] = str(portnum)
|
||||
env["builddir"] = f"{env['TOP_BUILDDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}"
|
||||
env["srcdir"] = f"{env['TOP_SRCDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}"
|
||||
env["HYPOTHESIS_STORAGE_DIRECTORY"] = (
|
||||
f"{env['TOP_BUILDDIR']}/{SYSTEM_TEST_DIR_GIT_PATH}/.hypothesis"
|
||||
)
|
||||
return env
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue