osmith submitted this change.
testenv: set PYTHONUNBUFFERED=1
Prepare to run PyHSS, which needs this variable to be set or else no log
messages are printed. This problem exists with potentially all python
scripts that testenv would run, so set the env var for all commands.
Change-Id: I155f7c7bd9b985094e36fee6c6a2acfe556f580d
---
M _testenv/testenv/cmd.py
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/_testenv/testenv/cmd.py b/_testenv/testenv/cmd.py
index d637129..c14f694 100644
--- a/_testenv/testenv/cmd.py
+++ b/_testenv/testenv/cmd.py
@@ -106,6 +106,7 @@
ret["PATH"] = path
ret["HOME"] = os.environ.get("HOME")
+ ret["PYTHONUNBUFFERED"] = "1"
for var in env:
ret[var] = env[var]
To view, visit change 41216. To unsubscribe, or for help writing mail filters, visit settings.