[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for-2.3 v2 0/4] qtest: Fix remaining test paths to i

From: Andreas Färber
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


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


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]