aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-19 21:51:13 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-19 21:51:13 -0700
commitd0ffe1431728f59556dd535df8edf0f3003649ae (patch)
treed6a261937421b437f8c7e872fec8cd83b5ab9dcc /tools
parenteb68a800d5cefd69923c4cea811157d1b2bed867 (diff)
Include pid in failures
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/jobset.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py
index 28b7d30371..a58071ee35 100755
--- a/tools/run_tests/jobset.py
+++ b/tools/run_tests/jobset.py
@@ -209,8 +209,9 @@ class Job(object):
self._state = _FAILURE
self._tempfile.seek(0)
stdout = self._tempfile.read()
- message('FAILED', '%s [ret=%d]' % (
- self._spec.shortname, self._process.returncode), stdout, do_newline=True)
+ message('FAILED', '%s [ret=%d, pid=%d]' % (
+ self._spec.shortname, self._process.returncode, self._process.pid),
+ stdout, do_newline=True)
else:
self._state = _SUCCESS
message('PASSED', '%s [time=%.1fsec]' % (self._spec.shortname, elapsed),