From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapuy-0004hK-LE for qemu-devel@nongnu.org; Wed, 25 Mar 2015 14:20:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yapuj-0003Xp-K8 for qemu-devel@nongnu.org; Wed, 25 Mar 2015 14:20:40 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41926 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapuj-0003X5-D4 for qemu-devel@nongnu.org; Wed, 25 Mar 2015 14:20:25 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 25 Mar 2015 19:20:19 +0100 Message-Id: <1427307623-2425-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-2.3 v2 0/4] qtest: Fix remaining test paths to include architecture List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, jsnow@redhat.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= , stefanha@redhat.com Hello, This mini-series fixes the last remaining GTester paths to indicate the architecture they are executed for (i386 vs. x86_64). Unlike the previous fw_cfg-test patch, there are no libqtest wrappers add= ing the architecture yet; other tests manually constructed a correct path to pass= to g_test_add_data_func(). For convenience, add wrappers for g_test_add_data= _func() and g_test_add(). Based on "[PATCH for-2.3] fw_cfg-test: Fix test path to include architect= ure". Regards, Andreas v1 -> v2: * Added a qtest_add() wrapper macro (John, Paolo). * Made data argument of qtest_add_data_func() const. * Converted remaining QTest users of g_test_add_data_func() to qtest_add_data_func() (John). Andreas F=C3=A4rber (4): qtest: Add qtest_add_data_func() wrapper function qtest: Add qtest_add() wrapper macro i440fx-test: Fix test paths to include architecture tests: Use qtest_add_data_func() consistently tests/ahci-test.c | 9 ++------- tests/e1000-test.c | 4 ++-- tests/eepro100-test.c | 5 ++--- tests/endianness-test.c | 18 +++++++++--------- tests/i440fx-test.c | 12 ++++++------ tests/libqtest.c | 7 +++++++ tests/libqtest.h | 32 ++++++++++++++++++++++++++++++++ tests/pc-cpu-test.c | 13 ++++++------- tests/qom-test.c | 4 ++-- 9 files changed, 68 insertions(+), 36 deletions(-) --=20 2.1.4