[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH preliminary for 4.1 00/13] Convert I2C tests to qgra
|
From: |
Paolo Bonzini |
|
Subject: |
[Qemu-devel] [PATCH preliminary for 4.1 00/13] Convert I2C tests to qgraph |
|
Date: |
Mon, 18 Mar 2019 18:15:08 +0100 |
This series is meant to be a reference for converting tests to qgraph.
It covers a bit of everything: finding common code across multiple tests,
the kind of bug that you could find when running tests across more machine
types, creating new machines, and converting tests.
I have not yet tested it fully, and the first two patches are really
independent bugfixes and improvements to the qgraph API so they do not
really belong in this series. However, I wanted to throw it out sooner
because I won't have much time to work on it during the freeze.
Paolo Bonzini (13):
qgraph: allow extra_device_opts on bus nodes
qgraph: fix qos_node_contains with options
libqos: move common i2c code to libqos
libqos: fix omap-i2c receiving more than 4 bytes
pca9552-test: do not rely on state across tests
imx25-pdk: create ds1338 for qtest inside the test
libqos: split I2CAdapter initialization and allocation
libqos: convert I2C to qgraph
libqos: add ARM n800 machine object
libqos: add ARM imx25-pdk machine object
tests: convert OMAP i2c tests to qgraph
tests: convert ds1338-test to qtest
libqos: i2c: move address into QI2CDevice
hw/arm/imx25_pdk.c | 9 ---
tests/Makefile.include | 17 ++--
tests/ds1338-test.c | 45 ++++-------
tests/libqos/arm-imx25-pdk-machine.c | 92 ++++++++++++++++++++++
tests/libqos/arm-n800-machine.c | 92 ++++++++++++++++++++++
tests/libqos/i2c-imx.c | 40 ++++++----
tests/libqos/i2c-omap.c | 70 +++++++++++------
tests/libqos/i2c.c | 74 ++++++++++++++++--
tests/libqos/i2c.h | 63 ++++++++++++---
tests/libqos/qgraph.c | 12 ++-
tests/libqos/qgraph.h | 15 ++--
tests/pca9552-test.c | 91 ++++++++--------------
tests/qos-test.c | 17 ++--
tests/tmp105-test.c | 112 ++++++++-------------------
14 files changed, 494 insertions(+), 255 deletions(-)
create mode 100644 tests/libqos/arm-imx25-pdk-machine.c
create mode 100644 tests/libqos/arm-n800-machine.c
--
2.20.1
- [Qemu-devel] [PATCH preliminary for 4.1 00/13] Convert I2C tests to qgraph,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 08/13] libqos: convert I2C to qgraph, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 09/13] libqos: add ARM n800 machine object, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 01/13] qgraph: allow extra_device_opts on bus nodes, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 03/13] libqos: move common i2c code to libqos, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 13/13] libqos: i2c: move address into QI2CDevice, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 11/13] tests: convert OMAP i2c tests to qgraph, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 10/13] libqos: add ARM imx25-pdk machine object, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 05/13] pca9552-test: do not rely on state across tests, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 04/13] libqos: fix omap-i2c receiving more than 4 bytes, Paolo Bonzini, 2019/03/18
- [Qemu-devel] [PATCH 02/13] qgraph: fix qos_node_contains with options, Paolo Bonzini, 2019/03/18