1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00
Eric Blake dce95297e3 tests: uniformly report test failures
testutils.c likes to print summaries after a test completes,
including if it failed.  But if the test outright exit()s,
this summary is skipped.  Enforce that we return instead of exit.

* cfg.mk (sc_prohibit_exit_in_tests): New syntax check.
* tests/commandhelper.c (main): Fix offenders.
* tests/qemumonitorjsontest.c (mymain): Likewise.
* tests/seclabeltest.c (main): Likewise.
* tests/securityselinuxlabeltest.c (mymain): Likewise.
* tests/securityselinuxtest.c (mymain): Likewise.
* tests/testutils.h (VIRT_TEST_MAIN_PRELOAD): Likewise.
* tests/testutils.c (virtTestMain): Likewise.
(virtTestCaptureProgramOutput): Use symbolic name.
2013-02-25 17:38:11 -07:00
..
2012-04-02 09:33:54 -06:00
2012-09-17 14:59:37 -04:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:17:13 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2011-07-11 09:21:37 -06:00
2009-07-16 15:06:42 +02:00
2012-12-21 11:19:49 +00:00
2013-02-12 09:00:15 -07:00
2013-01-17 16:39:10 -07:00
2012-12-21 11:19:50 +00:00