osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41216?usp=email )
Change subject: testenv: set PYTHONUNBUFFERED=1 ......................................................................
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(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve
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]