[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/7] tests/Makefile: test-image-locking needs CONFIG_POSIX
From: |
Thomas Huth |
Subject: |
[PATCH v2 3/7] tests/Makefile: test-image-locking needs CONFIG_POSIX |
Date: |
Sun, 23 Aug 2020 13:17:53 +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>
Message-Id: <20200804170055.2851-4-thuth@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 9ac8f5b86a..497f1f21ff 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.2
- [PATCH v2 0/7] Run cross-compilation build tests in the gitlab-CI, Thomas Huth, 2020/08/23
- [PATCH v2 2/7] tests/docker: Install python3-setuptools in the debian9-mxe containers, Thomas Huth, 2020/08/23
- [PATCH v2 3/7] tests/Makefile: test-image-locking needs CONFIG_POSIX,
Thomas Huth <=
- [PATCH v2 4/7] tests/Makefile: test-replication needs CONFIG_POSIX, Thomas Huth, 2020/08/23
- [PATCH v2 6/7] configure: Allow automatic WHPX detection, Thomas Huth, 2020/08/23
- [PATCH v2 5/7] dockerfiles/debian-win64-cross: Download WHPX MinGW headers, Thomas Huth, 2020/08/23
- [PATCH v2 7/7] gitlab-ci: Add cross-compiling build tests, Thomas Huth, 2020/08/23
- [PATCH v2 1/7] configure: Add system = 'linux' for meson when cross-compiling, Thomas Huth, 2020/08/23
- Re: [PATCH v2 0/7] Run cross-compilation build tests in the gitlab-CI, Paolo Bonzini, 2020/08/25