On 11/29/18 11:45 AM, Paolo Bonzini wrote:
Sometimes a test's main() function recognizes that the environment
does not support the test, and therefore exits.  In this case, we
still should run g_test_run() so that a TAP harness will print the
test plan ("1..0") and the test will be marked as skipped.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
  tests/cdrom-test.c     | 2 +-
  tests/migration-test.c | 8 ++++----
  2 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to