]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testutils: Drop virtTestResult
authorCole Robinson <crobinso@redhat.com>
Tue, 29 Sep 2015 15:01:48 +0000 (11:01 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 5 Oct 2015 18:34:04 +0000 (14:34 -0400)
commitbb5fc5c7782f6f80de4f8e7aa3c910b1113957eb
treeb4c7fa0b1afa7986beef49ba9a65af4213fa037e
parentae8755370f4b1e008aae70770a194a4950e6d904
testutils: Drop virtTestResult

virtTestResult is suboptimal for a few reasons:

- It poorly duplicates virtTestRun pass/fail reporting logic
- It doesn't have virtTestRun's alloc testing support
- It only reports the test name _after_ the test has run.
- It doesn't follow the standard virtTestRun pattern that most other
  tests use.

There's no users left, so drop it. If any other async tests like eventtest
spring up that don't cleanly fit the virtTestRun pattern, I suggest they
just open code the support for it around virtTestRun
tests/testutils.c
tests/testutils.h