[libvirt] [PATCH 0/3] tests: Drop virtTestResult

Cole Robinson crobinso at redhat.com
Tue Sep 29 23:56:44 UTC 2015


virtTestResult poorly duplicates logic from virtTestRun. We could fix it,
but there's really only one legitimate user in eventtest.c, so drop the
improper users, and opencode the legit usage. More justification in the
last patch

Thanks,
Cole

Cole Robinson (3):
  tests: sheepdog: Drop use of virtTestResult
  tests: eventtest: Open code virtTestResult
  testutils: Drop virtTestResult

 tests/eventtest.c                  | 57 ++++++++++++++++++++++++++++------
 tests/storagebackendsheepdogtest.c | 63 ++++++++++++++++++++++++++++----------
 tests/testutils.c                  | 38 -----------------------
 tests/testutils.h                  |  2 --
 4 files changed, 94 insertions(+), 66 deletions(-)

-- 
2.5.0




More information about the libvir-list mailing list