make test: Add exception handling around subprocess. 65/16265/7
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 28 Nov 2018 19:34:21 +0000 (11:34 -0800)
committerOle Trøan <otroan@employees.org>
Tue, 26 Feb 2019 09:39:00 +0000 (09:39 +0000)
commit38a4ec7342c27e675cc049d923e0075655fd91fd
treea9d42c77514ad103a8c7249a6cf88dc6bb988221
parent2bbbea0f88f24bc96198e841a7e8b984bfab87b3
make test: Add exception handling around subprocess.

This cleans up exception catching to identify oserrors.  By raising the
specific exception closer to the offending call, we get additional stack history
and can add clearer error logging to assist in troubleshooting.

Change-Id: I592e4d46844b822a816485bf54910f8daed92088
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/framework.py
test/hook.py
test/run_tests.py
test/test_vcl.py