summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-07-10 17:08:40 -0300
committerAndreas Färber <afaerber@suse.de>2013-08-16 18:44:33 +0200
commit747b0cb4b51296e85add0a23d5fc1d24e250ec08 (patch)
tree37e97929e34542d04be51869d8b3440da6124f35 /tests/Makefile
parent35143f0164e6933a85c7c2b8a89a040d881a9151 (diff)
downloadqemu-747b0cb4b51296e85add0a23d5fc1d24e250ec08.tar.gz
qemu-747b0cb4b51296e85add0a23d5fc1d24e250ec08.tar.bz2
qemu-747b0cb4b51296e85add0a23d5fc1d24e250ec08.zip
tests: Unit tests for qdev global properties handling
This tests the qdev global-properties handling code. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index d0449080b1..b0200fd60f 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -48,6 +48,7 @@ check-unit-y += tests/test-int128$(EXESUF)
# all code tested by test-int128 is inside int128.h
gcov-files-test-int128-y =
check-unit-y += tests/test-bitops$(EXESUF)
+check-unit-y += tests/test-qdev-global-props$(EXESUF)
check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh
@@ -123,6 +124,12 @@ tests/test-x86-cpuid$(EXESUF): tests/test-x86-cpuid.o
tests/test-xbzrle$(EXESUF): tests/test-xbzrle.o xbzrle.o page_cache.o libqemuutil.a
tests/test-cutils$(EXESUF): tests/test-cutils.o util/cutils.o
tests/test-int128$(EXESUF): tests/test-int128.o
+tests/test-qdev-global-props$(EXESUF): tests/test-qdev-global-props.o \
+ hw/core/qdev.o hw/core/qdev-properties.o \
+ hw/core/irq.o \
+ qom/object.o qom/container.o qom/qom-qobject.o \
+ $(test-qapi-obj-y) \
+ libqemuutil.a libqemustub.a
tests/test-qapi-types.c tests/test-qapi-types.h :\
$(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-types.py