Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/doctest/control.py: Show SAGE_LOCAL, SAGE_VENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 9, 2022
1 parent d242f96 commit f2468ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sage/doctest/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ def run(self):
return self.run_val_gdb()
else:
self.create_run_id()
from sage.env import SAGE_ROOT_GIT
from sage.env import SAGE_ROOT_GIT, SAGE_LOCAL, SAGE_VENV
# SAGE_ROOT_GIT can be None on distributions which typically
# only have the SAGE_LOCAL install tree but not SAGE_ROOT
if (SAGE_ROOT_GIT is not None) and os.path.isdir(SAGE_ROOT_GIT):
Expand All @@ -1348,6 +1348,8 @@ def run(self):
except subprocess.CalledProcessError:
pass

self.log(f"Running with {SAGE_LOCAL=} and {SAGE_VENV=}")

self.log("Using --optional=" + self._optional_tags_string())
available_software._allow_external = self.options.optional is True or 'external' in self.options.optional
self.log("Features to be detected: " + ','.join(available_software.detectable()))
Expand Down

0 comments on commit f2468ab

Please sign in to comment.