diff options
author | 2012-08-20 14:06:21 +0100 | |
---|---|---|
committer | 2012-09-07 13:18:04 +0100 | |
commit | 8d78fd04be695a069ca166d86c3eae780e81dbf1 (patch) | |
tree | 866020b149ddc37945a686b0a4c378b148d93a1e /cfg.mk | |
parent | Add non-null annotations to qemuMonitorOpen (diff) | |
download | libvirt-8d78fd04be695a069ca166d86c3eae780e81dbf1.tar.gz libvirt-8d78fd04be695a069ca166d86c3eae780e81dbf1.tar.bz2 libvirt-8d78fd04be695a069ca166d86c3eae780e81dbf1.zip |
Add helper library for testing the qemu monitor code
To be able to test the QEMU monitor code, we need to have a fake
QEMU monitor server. This introduces a simple (dumb) framework
that can do this. The test case registers a series of items to
be sent back as replies to commands that will be executed. A
thread runs the event loop looking for incoming replies and
sending back this pre-registered data. This allows testing all
QEMU monitor code that deals with parsing responses and errors
from QEMU, without needing QEMU around
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -746,7 +746,7 @@ exclude_file_name_regexp--sc_copyright_address = \ exclude_file_name_regexp--sc_flags_usage = ^(docs/|src/util/virnetdevtap\.c$$) exclude_file_name_regexp--sc_libvirt_unmarked_diagnostics = \ - ^src/rpc/gendispatch\.pl$$ + ^(src/rpc/gendispatch\.pl$$|tests/) exclude_file_name_regexp--sc_po_check = ^(docs/|src/rpc/gendispatch\.pl$$) |