mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 20:12:06 -04:00
Log the Python interpreter used to run the system tests during setup
This is useful when running in an virtual environment or on a machine where multiple Python versions are installed.
This commit is contained in:
parent
68cfca1788
commit
261185ecb5
1 changed files with 5 additions and 0 deletions
|
|
@ -402,6 +402,11 @@ def system_test_dir(request, system_test_name, expected_artifacts):
|
|||
# Log which binaries are used for the test(s)
|
||||
isctest.log.info("testing binaries from: %s", os.environ.get("TOP_BUILDDIR"))
|
||||
|
||||
# Log what Python interpreter is used to run the test(s)
|
||||
isctest.log.info(
|
||||
"using Python interpreter at: %s to run the test(s)", os.environ.get("PYTHON")
|
||||
)
|
||||
|
||||
# System tests are meant to be executed from their directory - switch to it.
|
||||
old_cwd = os.getcwd()
|
||||
os.chdir(testdir)
|
||||
|
|
|
|||
Loading…
Reference in a new issue