From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0afs-0002Jx-No for qemu-devel@nongnu.org; Mon, 15 Dec 2014 13:47:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0afm-0004YX-Ie for qemu-devel@nongnu.org; Mon, 15 Dec 2014 13:47:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0afm-0004YG-Av for qemu-devel@nongnu.org; Mon, 15 Dec 2014 13:47:10 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBFIl8Y6026510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 15 Dec 2014 13:47:08 -0500 From: Eduardo Habkost Date: Mon, 15 Dec 2014 16:44:53 -0200 Message-Id: <1418669099-30322-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/6] Target-specific unit test support, add unit tests for target-i386/cpu.c code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov Changes v3 -> v4: * Move target_words_bigendian() prototype back inside tests/x86-stub.c. Changes v2 -> v3: * Extra KVM "host" CPU model test cases * Move target_words_bigendian() prototype to exec-all.h Changes v1 -> v2: * Make dependency list of test binary much simpler, now that cpus.o was removed. Eduardo Habkost (6): tests: Support target-specific unit tests tests: Make test-x86-cpuid target-specific tests: Add unit test for X86CPU code target-i386: Isolate enabled-by-default features to a separate array tests: test-x86-cpu: Add TCG feature bit initialization test tests: test-x86-cpu: Add KVM feature bit initialization test target-i386/cpu.c | 12 ++-- tests/.gitignore | 1 + tests/Makefile | 50 ++++++++++---- tests/test-x86-cpu.c | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/vl-stub.c | 15 +++++ tests/x86-stub.c | 165 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 411 insertions(+), 15 deletions(-) create mode 100644 tests/test-x86-cpu.c create mode 100644 tests/vl-stub.c create mode 100644 tests/x86-stub.c -- 1.9.3