From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsU7N-0002eE-F0 for qemu-devel@nongnu.org; Wed, 22 Aug 2018 10:28:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsU7K-0007vT-9y for qemu-devel@nongnu.org; Wed, 22 Aug 2018 10:28:17 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43890 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsU7K-0007vB-3G for qemu-devel@nongnu.org; Wed, 22 Aug 2018 10:28:14 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C05D04023820 for ; Wed, 22 Aug 2018 14:28:13 +0000 (UTC) From: Juan Quintela In-Reply-To: <96821c07-7aa6-5920-8921-da967258c0d5@redhat.com> (Thomas Huth's message of "Wed, 22 Aug 2018 12:13:18 +0200") References: <20180822095421.11765-1-quintela@redhat.com> <20180822095421.11765-3-quintela@redhat.com> <96821c07-7aa6-5920-8921-da967258c0d5@redhat.com> Reply-To: quintela@redhat.com Date: Wed, 22 Aug 2018 16:28:05 +0200 Message-ID: <87ftz6pjbe.fsf@trasno.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 02/10] check: Use land/lor when possible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-devel@nongnu.org, lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Thomas Huth wrote: > On 2018-08-22 11:54, Juan Quintela wrote: >> So everythig is (a bit) more consistent >> >> Signed-off-by: Juan Quintela >> --- >> tests/Makefile.include | 12 ++++-------- >> 1 file changed, 4 insertions(+), 8 deletions(-) > [...] >> @@ -299,9 +297,7 @@ check-qtest-i386-y += tests/q35-test$(EXESUF) >> check-qtest-i386-y += tests/vmgenid-test$(EXESUF) >> gcov-files-i386-y += hw/pci-host/q35.c >> check-qtest-i386-$(CONFIG_VHOST_USER_NET_TEST_i386) += >> tests/vhost-user-test$(EXESUF) >> -ifeq ($(CONFIG_VHOST_USER_NET_TEST_i386),) >> -check-qtest-x86_64-$(CONFIG_VHOST_USER_NET_TEST_x86_64) += >> tests/vhost-user-test$(EXESUF) >> -endif >> +check-qtest-x86_64-$(call lor, $(CONFIG_VHOST_USER_NET_TEST_i386), >> $(CONFIG_VHOST_USER_NET_TEST_x86_64)) += >> tests/vhost-user-test$(EXESUF) > > I think that is the wrong condition. It's rather "!i386 AND x86_64" that > you have to test here. Since that line will get incredibly long with the > $(call ...) expressions, I'd suggest to rather drop this hunk, I think > it's more readable the way it is. Dropped. Anyways, the propper fix is to change how vhost is configured at all. The bits in configure are "interesting" to say the less. Later, Juan.