[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/46] tests/Makefile: test-image-locking needs CONFIG_POSIX
From: |
Paolo Bonzini |
Subject: |
[PULL 02/46] tests/Makefile: test-image-locking needs CONFIG_POSIX |
Date: |
Fri, 4 Sep 2020 07:40:38 -0400 |
From: Thomas Huth <thuth@redhat.com>
test-image-locking.c uses the qemu_lock_fd_test() function which is
only available on Posix-like systems.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200803065803.20836-1-thuth@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
tests/Makefile.include | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 08301f5bc9..5c05e84a9a 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.26.2
- [PULL 00/46] Next round of Meson bugfixes and cleanups, Paolo Bonzini, 2020/09/04
- [PULL 02/46] tests/Makefile: test-image-locking needs CONFIG_POSIX,
Paolo Bonzini <=
- [PULL 01/46] qemu-iotests: move check-block back to Makefiles, Paolo Bonzini, 2020/09/04
- [PULL 08/46] meson: remove b_lundef option, Paolo Bonzini, 2020/09/04
- [PULL 06/46] mtest2make: hide output of successful tests, Paolo Bonzini, 2020/09/04
- [PULL 04/46] mtest2make: split environment from test command, Paolo Bonzini, 2020/09/04
- [PULL 09/46] configure: do not include absolute paths in -I and -L paths, Paolo Bonzini, 2020/09/04
- [PULL 16/46] meson: convert qht-bench, Paolo Bonzini, 2020/09/04
- [PULL 14/46] meson: declare tasn1 dependency, Paolo Bonzini, 2020/09/04
- [PULL 07/46] mtest2make: unify tests that appear in multiple suites, Paolo Bonzini, 2020/09/04
- [PULL 13/46] meson: build qapi tests library, Paolo Bonzini, 2020/09/04
- [PULL 12/46] meson: fix libqos linking, Paolo Bonzini, 2020/09/04