From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8AP-0004hv-9Q for qemu-devel@nongnu.org; Mon, 23 Mar 2015 15:37:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya8AO-0003Rg-BM for qemu-devel@nongnu.org; Mon, 23 Mar 2015 15:37:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8AO-0003Rc-4A for qemu-devel@nongnu.org; Mon, 23 Mar 2015 15:37:40 -0400 From: Eduardo Habkost Date: Mon, 23 Mar 2015 16:37:07 -0300 Message-Id: <1427139432-27530-3-git-send-email-ehabkost@redhat.com> In-Reply-To: <1427139432-27530-1-git-send-email-ehabkost@redhat.com> References: <1427139432-27530-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH for-2.4 v5 2/7] tests: Make test-x86-cpuid target-specific List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Igor Mammedov Instead of using a test-specific hack to add -I$(SRC_PATH)/target-i386, add test-x86-cpuid to $(test-obj-x86_64-softmmu-y). Signed-off-by: Eduardo Habkost --- tests/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 33b74a2..1a78b86 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -45,7 +45,7 @@ check-unit-y += tests/test-thread-pool$(EXESUF) gcov-files-test-thread-pool-y = thread-pool.c gcov-files-test-hbitmap-y = util/hbitmap.c check-unit-y += tests/test-hbitmap$(EXESUF) -check-unit-y += tests/test-x86-cpuid$(EXESUF) +check-unit-x86_64-softmmu-y += tests/test-x86-cpuid$(EXESUF) # all code tested by test-x86-cpuid is inside topology.h gcov-files-test-x86-cpuid-y = ifeq ($(CONFIG_SOFTMMU),y) @@ -235,6 +235,8 @@ test-obj-y = tests/check-qint.o tests/check-qstring.o tests/check-qdict.o \ tests/test-opts-visitor.o tests/test-qmp-event.o \ tests/rcutorture.o tests/test-rcu-list.o +test-obj-x86_64-softmmu-y = tests/test-x86-cpuid.o + test-qapi-obj-y = tests/test-qapi-visit.o tests/test-qapi-types.o \ tests/test-qapi-event.o -- 2.1.0