Re: [PATCH 5/5] tests: uniformly report test failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.02.2013 00:09, Eric Blake wrote:
> 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_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.
> ---
>  cfg.mk                           | 7 +++++++
>  tests/commandhelper.c            | 7 +++----
>  tests/qemumonitorjsontest.c      | 8 +++-----
>  tests/seclabeltest.c             | 8 ++++----
>  tests/securityselinuxlabeltest.c | 6 +++---
>  tests/securityselinuxtest.c      | 6 +++---
>  tests/testutils.c                | 8 ++++----
>  tests/testutils.h                | 4 ++--
>  8 files changed, 29 insertions(+), 25 deletions(-)

ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]