[PATCH 0/3] tests: Return EXIT_* from main instead of 0/-1

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

 



See 3/3 for rationale.

Michal Prívozník (3):
  testutils: Drop libtool binary name handling
  tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0
  testutils: Document and enforce @func callback retvals for
    virTestMain()

 tests/fchosttest.c          |  2 +-
 tests/qemusecuritytest.c    |  2 +-
 tests/scsihosttest.c        |  2 +-
 tests/seclabeltest.c        |  2 +-
 tests/storagepoolcapstest.c |  2 +-
 tests/testutils.c           | 20 +++++++++++++++-----
 tests/testutils.h           |  4 ++++
 tests/virbitmaptest.c       |  2 +-
 tests/vircaps2xmltest.c     |  2 +-
 tests/vircapstest.c         |  2 +-
 tests/virconftest.c         |  2 +-
 tests/virendiantest.c       |  2 +-
 tests/virlogtest.c          |  2 +-
 tests/virresctrltest.c      |  2 +-
 tests/virscsitest.c         |  2 +-
 15 files changed, 32 insertions(+), 18 deletions(-)

-- 
2.26.3




[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]

  Powered by Linux