]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Improve output of tests that decide to skip at runtime
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 Jul 2011 09:50:38 +0000 (11:50 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 Jul 2011 13:47:57 +0000 (15:47 +0200)
commitc3ab6b2b53bd05750634ba595e1b920a3afd0b7e
tree850cbf80b3bc1463a5ca88345c7d30bea59a116a
parentb1c9bf27cb10345542a8090c2f6e9475c2060b57
tests: Improve output of tests that decide to skip at runtime

Don't print OK/FAIL for tests 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
tests/reconnect.c
tests/testutils.c