diff options
author | 2015-05-19 21:51:13 -0700 | |
---|---|---|
committer | 2015-05-19 21:51:13 -0700 | |
commit | d0ffe1431728f59556dd535df8edf0f3003649ae (patch) | |
tree | d6a261937421b437f8c7e872fec8cd83b5ab9dcc /tools | |
parent | eb68a800d5cefd69923c4cea811157d1b2bed867 (diff) |
Include pid in failures
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/jobset.py | 5 |
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), |