[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.4 v5 2/7] tests: Make test-x86-cpuid target-sp
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH for-2.4 v5 2/7] tests: Make test-x86-cpuid target-specific |
Date: |
Mon, 23 Mar 2015 16:37:07 -0300 |
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 <address@hidden>
---
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
- [Qemu-devel] [PATCH for-2.4 v5 0/7] Target-specific unit test support, add unit tests for target-i386/cpu.c code, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 1/7] tests: Support target-specific unit tests, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 2/7] tests: Make test-x86-cpuid target-specific,
Eduardo Habkost <=
- [Qemu-devel] [PATCH for-2.4 v5 4/7] target-i386: Isolate enabled-by-default features to a separate array, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 5/7] tests: test-x86-cpu: Add TCG feature bit initialization test, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 3/7] tests: Add unit test for X86CPU code, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 6/7] tests: test-x86-cpu: Add KVM feature bit initialization test, Eduardo Habkost, 2015/03/23
- [Qemu-devel] [PATCH for-2.4 v5 7/7] tests: test-x86-cpu: Ensure that -cpu override KVM-specific defaults, Eduardo Habkost, 2015/03/23