[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Silence test-vmstate errors
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [PATCH 0/2] Silence test-vmstate errors |
Date: |
Thu, 20 Oct 2016 11:36:34 +0100 |
From: "Dr. David Alan Gilbert" <address@hidden>
In a1771070e7 I added an error message during migration loading
so you could see the field that failed to load.
Unfortunately this triggers during the expected-failure case
testing in tests/test-vmstate.
This silences that error by providing a dummy monitor pointer
that doesn't output anything and then selecting it around
the noisy part of the test.
(I couldn't find anywhere better than libqtest.h for the declaration
but stubs doesn't have it's own header; is it worth creating one
just for that?)
Dave
Dr. David Alan Gilbert (2):
tests/stubs: Add a dummy, silent monitor
test-vmstate: Silence expected errors
stubs/mon-is-qmp.c | 9 +++++++++
tests/libqtest.h | 1 +
tests/test-vmstate.c | 8 ++++++++
3 files changed, 18 insertions(+)
--
2.9.3
- [Qemu-devel] [PATCH 0/2] Silence test-vmstate errors,
Dr. David Alan Gilbert (git) <=