diff options
author | Daniel P. Berrangé | 2018-07-18 11:06:43 +0200 |
---|---|---|
committer | Daniel P. Berrangé | 2018-07-24 18:35:57 +0200 |
commit | 68db13183f2d3193476f5d5457c47fa10ba0f9e3 (patch) | |
tree | 06e568c5182064e52ceac4f2b44370876e240085 /stubs/error-printf.c | |
parent | tests: don't silence error reporting for all tests (diff) | |
download | qemu-68db13183f2d3193476f5d5457c47fa10ba0f9e3.tar.gz qemu-68db13183f2d3193476f5d5457c47fa10ba0f9e3.tar.xz qemu-68db13183f2d3193476f5d5457c47fa10ba0f9e3.zip |
tests: use error_abort in places expecting errors
Most of the TLS related tests are passing an in a "Error" object to
methods that are expected to fail, but then ignoring any error that is
set and instead asserting on a return value. This means that when an
error is unexpectedly raised, no information about it is printed out,
making failures hard to diagnose. Changing these tests to pass in
&error_abort will make unexpected failures print messages to stderr.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'stubs/error-printf.c')
0 files changed, 0 insertions, 0 deletions