qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, jsnow@redhat.com,
	"Andreas Färber" <afaerber@suse.de>,
	stefanha@redhat.com
Subject: [Qemu-devel] [PATCH for-2.3 v2 0/4] qtest: Fix remaining test paths to include architecture
Date: Wed, 25 Mar 2015 19:20:19 +0100	[thread overview]
Message-ID: <1427307623-2425-1-git-send-email-afaerber@suse.de> (raw)

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 adding 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 architecture".

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ärber (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(-)

-- 
2.1.4

             reply	other threads:[~2015-03-25 18:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 18:20 Andreas Färber [this message]
2015-03-25 18:20 ` [Qemu-devel] [PATCH for-2.3 v2 1/4] qtest: Add qtest_add_data_func() wrapper function Andreas Färber
2015-03-25 18:20 ` [Qemu-devel] [PATCH for-2.3 v2 2/4] qtest: Add qtest_add() wrapper macro Andreas Färber
2015-03-25 22:13   ` John Snow
2015-03-25 18:20 ` [Qemu-devel] [PATCH for-2.3 v2 3/4] i440fx-test: Fix test paths to include architecture Andreas Färber
2015-03-25 22:14   ` John Snow
2015-03-25 18:20 ` [Qemu-devel] [PATCH v2 4/4] tests: Use qtest_add_data_func() consistently Andreas Färber
2015-03-25 22:14   ` John Snow
2015-03-26 15:41     ` Andreas Färber
2015-03-27 18:46       ` John Snow
2015-05-19 12:35         ` Andreas Färber
2015-05-19 15:38           ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427307623-2425-1-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=jsnow@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).