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

2018-12-06 Thread Thomas Huth
On 2018-12-06 22:50, 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

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

2018-12-06 Thread Paolo Bonzini
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 Reviewed-

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

2018-11-29 Thread Thomas Huth
On 2018-11-29 18:45, 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

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

2018-11-29 Thread Eric Blake
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 skip

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

2018-11-29 Thread Paolo Bonzini
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 --- test