fixeria has submitted this change. (
https://gerrit.osmocom.org/c/python/osmo-python-tests/+/32929 )
Change subject: osmoutil: print return code in end_proc()
......................................................................
osmoutil: print return code in end_proc()
Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c
Related: OS#5665
---
M osmopy/osmoutil.py
1 file changed, 12 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
dexter: Looks good to me, approved
diff --git a/osmopy/osmoutil.py b/osmopy/osmoutil.py
index ec9c8c3..ecd88f2 100755
--- a/osmopy/osmoutil.py
+++ b/osmopy/osmoutil.py
@@ -68,7 +68,8 @@
print("Killed child process")
elif waited_time > .002:
print("Terminating took %.3fs" % waited_time)
- proc.wait()
+ rc = proc.wait()
+ print("Process returned code: %d" % rc)
"""Add a directory to sys.path, try to import a config
file."""
--
To view, visit
https://gerrit.osmocom.org/c/python/osmo-python-tests/+/32929
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c
Gerrit-Change-Number: 32929
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: merged