mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
tests: add unit test case for replication
[Rename get_error test cases to get_error_all to avoid tripping up scripts that grep for "error:" in test output. It also reflects the actual replication API function name better. -Stefan] Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com> Signed-off-by: Wang WeiWei <wangww.fnst@cn.fujitsu.com> Message-id: 1469602913-20979-11-git-send-email-xiecl.fnst@cn.fujitsu.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
29ff789060
commit
b311046696
@@ -63,6 +63,7 @@ test-qmp-introspect.[ch]
|
||||
test-qmp-marshal.c
|
||||
test-qmp-output-visitor
|
||||
test-rcu-list
|
||||
test-replication
|
||||
test-rfifolock
|
||||
test-string-input-visitor
|
||||
test-string-output-visitor
|
||||
|
||||
@@ -112,6 +112,7 @@ check-unit-y += tests/test-crypto-xts$(EXESUF)
|
||||
check-unit-y += tests/test-crypto-block$(EXESUF)
|
||||
gcov-files-test-logging-y = tests/test-logging.c
|
||||
check-unit-y += tests/test-logging$(EXESUF)
|
||||
check-unit-$(CONFIG_REPLICATION) += tests/test-replication$(EXESUF)
|
||||
|
||||
check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh
|
||||
|
||||
@@ -502,6 +503,9 @@ tests/test-base64$(EXESUF): tests/test-base64.o \
|
||||
|
||||
tests/test-logging$(EXESUF): tests/test-logging.o $(test-util-obj-y)
|
||||
|
||||
tests/test-replication$(EXESUF): tests/test-replication.o $(test-util-obj-y) \
|
||||
$(test-block-obj-y)
|
||||
|
||||
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 $(qapi-py)
|
||||
$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py \
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user