[PATCH 00/10] iotests: Remove duplicated blockdev_create()

Kevin Wolf posted 10 patches 5 years, 11 months ago
Test docker-quick@centos7 failed
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191216170857.11880-1-kwolf@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/206        | 232 ++++++++++++++++------------------
tests/qemu-iotests/207        |   8 +-
tests/qemu-iotests/210        |  81 ++++++------
tests/qemu-iotests/211        |  12 +-
tests/qemu-iotests/212        | 101 +++++++--------
tests/qemu-iotests/213        | 113 ++++++++---------
tests/qemu-iotests/237        | 139 ++++++++++----------
tests/qemu-iotests/255        |  10 --
tests/qemu-iotests/266        |  69 +++++-----
tests/qemu-iotests/266.out    |  14 ++
tests/qemu-iotests/iotests.py |  16 +++
11 files changed, 374 insertions(+), 421 deletions(-)
[PATCH 00/10] iotests: Remove duplicated blockdev_create()
Posted by Kevin Wolf 5 years, 11 months ago
We kept copying (and occasionally slightly modifying) the
blockdev_create() function first added in 206. With now nine tests
sharing duplicates of almost the same function (and me being about to
add the tenth one), it's probably time to unify them into a single
iotests.py function.

Kevin Wolf (10):
  iotests: Create VM.blockdev_create()
  iotests: 255: Drop blockdev_create()
  iotests: 206: Convert to VM.blockdev_create()
  iotests: 210: Convert to VM.blockdev_create()
  iotests: 212: Convert to VM.blockdev_create()
  iotests: 213: Convert to VM.blockdev_create()
  iotests: 237: Convert to VM.blockdev_create()
  iotests: 266: Convert to VM.blockdev_create()
  iotests: 207: Remove duplication with VM.blockdev_create()
  iotests: 211: Remove duplication with VM.blockdev_create()

 tests/qemu-iotests/206        | 232 ++++++++++++++++------------------
 tests/qemu-iotests/207        |   8 +-
 tests/qemu-iotests/210        |  81 ++++++------
 tests/qemu-iotests/211        |  12 +-
 tests/qemu-iotests/212        | 101 +++++++--------
 tests/qemu-iotests/213        | 113 ++++++++---------
 tests/qemu-iotests/237        | 139 ++++++++++----------
 tests/qemu-iotests/255        |  10 --
 tests/qemu-iotests/266        |  69 +++++-----
 tests/qemu-iotests/266.out    |  14 ++
 tests/qemu-iotests/iotests.py |  16 +++
 11 files changed, 374 insertions(+), 421 deletions(-)

-- 
2.20.1