qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] test: execute g_test_run when tests are ski


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 1/2] test: execute g_test_run when tests are skipped
Date: Thu, 29 Nov 2018 14:48:46 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

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 <address@hidden>
---
  tests/cdrom-test.c     | 2 +-
  tests/migration-test.c | 8 ++++----
  2 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]