diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-06-20 12:24:12 -0400 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-06-24 16:03:09 +0000 |
commit | 496b0dee7f6fe4a0b18c5a5993c11840fd9a1ccc (patch) | |
tree | 167dd4fbddfcc41980f175381f719be75b4d8cf5 /test/debug.py | |
parent | b98dbb1f2f94aba78a1b37c70721b562d13e1d7c (diff) |
tests: refactor VppDiedError.
- Move Exception into same module as TestCase.
- Move the error reporting logic inside the error.
- Allows testing of the returncode and signal_name for tests to consume.
- Fix the signal reporting code:
VppDiedError: VPP subprocess died unexpectedly with returncode -6 [unknown].
displays as:
VppDiedError: VPP subprocess died unexpectedly with return code: -6 [SIGABRT].
Type: test
Change-Id: I8488ab318a596c9b737308829cedfb7e96e57302
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/debug.py')
0 files changed, 0 insertions, 0 deletions