[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/11] tests/Makefile: test-image-locking needs CONFIG_POSIX
From: |
Thomas Huth |
Subject: |
[PATCH 03/11] tests/Makefile: test-image-locking needs CONFIG_POSIX |
Date: |
Tue, 4 Aug 2020 19:00:47 +0200 |
test-image-locking.c uses the qemu_lock_fd_test() function which is
only available on POSIX-like systems.
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/Makefile.include | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index c7e4646ded..1e5ca3b585 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -87,7 +87,9 @@ check-unit-$(CONFIG_BLOCK) += tests/test-blockjob$(EXESUF)
check-unit-$(CONFIG_BLOCK) += tests/test-blockjob-txn$(EXESUF)
check-unit-$(CONFIG_BLOCK) += tests/test-block-backend$(EXESUF)
check-unit-$(CONFIG_BLOCK) += tests/test-block-iothread$(EXESUF)
+ifeq ($(CONFIG_POSIX),y)
check-unit-$(CONFIG_BLOCK) += tests/test-image-locking$(EXESUF)
+endif
check-unit-y += tests/test-x86-cpuid$(EXESUF)
# all code tested by test-x86-cpuid is inside topology.h
ifeq ($(CONFIG_SOFTMMU),y)
--
2.18.1
- [PATCH 00/11] Run cross-compilation build tests in the gitlab-CI, Thomas Huth, 2020/08/04
- [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets, Thomas Huth, 2020/08/04
- [PATCH 01/11] virtio-mem: Correct format specifier mismatch for RISC-V, Thomas Huth, 2020/08/04
- [PATCH 03/11] tests/Makefile: test-image-locking needs CONFIG_POSIX,
Thomas Huth <=
- [PATCH 04/11] tests/Makefile: test-replication needs CONFIG_POSIX, Thomas Huth, 2020/08/04
- [PATCH 05/11] tests/Makefile: Only build usable targets during 'make check-build', Thomas Huth, 2020/08/04
- [PATCH 07/11] Get rid of the libqemustub.a remainders, Thomas Huth, 2020/08/04
- [PATCH 06/11] tests/Makefile: Add $(EXESUF) to fp-test target, Thomas Huth, 2020/08/04
- [PATCH 08/11] stubs/notify-event: Mark qemu_notify_event() stub as "weak", Thomas Huth, 2020/08/04