On 07/09/2011 03:51 AM, Matthias Bolte wrote:
Here's a v2 that does this.
-- Matthias Bolte
http://photron.blogspot.com
Subject: [PATCH] tests: Improve output of tests that decide to skip at runtime
Don't print OK/FAIL for test that decide to be skipped after
calling virtTestMain. Delay printing of the indentation before
the first test until we know that the test didn't decide to be
skipped.
Also make the reconnect test use VIRT_TEST_MAIN.
---
tests/Makefile.am | 2 +-
tests/reconnect.c | 17 ++++++++++-------
tests/testutils.c | 10 +++++++---
3 files changed, 18 insertions(+), 11 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org