[Qemu-devel] [PATCH 0/2] iotests: use python logging

John Snow posted 2 patches 4 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
tests/qemu-iotests/030        |  4 +--
tests/qemu-iotests/149        |  3 +-
tests/qemu-iotests/194        |  3 +-
tests/qemu-iotests/202        |  3 +-
tests/qemu-iotests/203        |  3 +-
tests/qemu-iotests/206        |  2 +-
tests/qemu-iotests/208        |  2 +-
tests/qemu-iotests/216        |  3 +-
tests/qemu-iotests/218        |  2 +-
tests/qemu-iotests/219        |  2 +-
tests/qemu-iotests/222        |  5 ++-
tests/qemu-iotests/224        |  3 +-
tests/qemu-iotests/228        |  3 +-
tests/qemu-iotests/234        |  3 +-
tests/qemu-iotests/235        |  4 +--
tests/qemu-iotests/236        |  2 +-
tests/qemu-iotests/238        |  2 ++
tests/qemu-iotests/242        |  2 +-
tests/qemu-iotests/245        |  1 +
tests/qemu-iotests/245.out    | 24 ++++++-------
tests/qemu-iotests/246        |  2 +-
tests/qemu-iotests/248        |  2 +-
tests/qemu-iotests/254        |  2 +-
tests/qemu-iotests/255        |  2 +-
tests/qemu-iotests/256        |  2 +-
tests/qemu-iotests/iotests.py | 67 ++++++++++++++++++++++-------------
26 files changed, 83 insertions(+), 70 deletions(-)
[Qemu-devel] [PATCH 0/2] iotests: use python logging
Posted by John Snow 4 years, 9 months ago
Based-on: https://github.com/jnsnow/qemu/tree/bitmaps

This is a quick hack-em-up of what it might look like to use python
logging to enable output conditionally on iotests.log(). We unify an
initialization call (which also enables debugging output for those tests
with -d) and then make the switch inside of iotests.

It might help with needing to add logged/unlogged versions.

Depends on my bitmaps branch, because of the iotests refactoring I have
done there.

John Snow (2):
  iotests: add script_initialize
  iotests: use python logging for iotests.log()

 tests/qemu-iotests/030        |  4 +--
 tests/qemu-iotests/149        |  3 +-
 tests/qemu-iotests/194        |  3 +-
 tests/qemu-iotests/202        |  3 +-
 tests/qemu-iotests/203        |  3 +-
 tests/qemu-iotests/206        |  2 +-
 tests/qemu-iotests/208        |  2 +-
 tests/qemu-iotests/216        |  3 +-
 tests/qemu-iotests/218        |  2 +-
 tests/qemu-iotests/219        |  2 +-
 tests/qemu-iotests/222        |  5 ++-
 tests/qemu-iotests/224        |  3 +-
 tests/qemu-iotests/228        |  3 +-
 tests/qemu-iotests/234        |  3 +-
 tests/qemu-iotests/235        |  4 +--
 tests/qemu-iotests/236        |  2 +-
 tests/qemu-iotests/238        |  2 ++
 tests/qemu-iotests/242        |  2 +-
 tests/qemu-iotests/245        |  1 +
 tests/qemu-iotests/245.out    | 24 ++++++-------
 tests/qemu-iotests/246        |  2 +-
 tests/qemu-iotests/248        |  2 +-
 tests/qemu-iotests/254        |  2 +-
 tests/qemu-iotests/255        |  2 +-
 tests/qemu-iotests/256        |  2 +-
 tests/qemu-iotests/iotests.py | 67 ++++++++++++++++++++++-------------
 26 files changed, 83 insertions(+), 70 deletions(-)

-- 
2.21.0