qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests/Makefile: test-image-locking needs CONFIG_POSIX


From: John Snow
Subject: Re: [PATCH] tests/Makefile: test-image-locking needs CONFIG_POSIX
Date: Mon, 3 Aug 2020 17:23:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/3/20 2:58 AM, Thomas Huth wrote:
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>

Reviewed-by: John Snow <jsnow@redhat.com>

---
  tests/Makefile.include | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/tests/Makefile.include b/tests/Makefile.include
index 5ff731be2b..430119db74 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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]