diff options
author | Thomas Huth <thuth@redhat.com> | 2018-05-22 10:30:31 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-29 13:02:50 +0200 |
commit | 28a3cfc10b2e1a34985797357b4aa7558a63d08f (patch) | |
tree | 21c693ef07bfb5c310e60b3ba0736b3c4e651c58 /backends | |
parent | a71c775b24ebc664129eb1d9b4c360590353efd5 (diff) | |
download | qemu-28a3cfc10b2e1a34985797357b4aa7558a63d08f.zip qemu-28a3cfc10b2e1a34985797357b4aa7558a63d08f.tar.gz qemu-28a3cfc10b2e1a34985797357b4aa7558a63d08f.tar.bz2 |
tests/boot-serial: Do not delete the output file in case of errors
Peter reported that the boot-serial tester sometimes runs into timeouts
with SPARC guests. It's currently completely unclear whether this is due
to too much load on the host machine (so that the guest really just ran
too slow), or whether there is something wrong with the guest's firmware
boot. For further debugging, we need the serial output of the guest in
case of errors, so instead of unlinking the file immediately, this is
now only done in case of success. In case of error, print the name of the
file with the serial output via g_error() (which then also calls abort()
internally to mark the test as failed).
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1526977831-31129-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions