]> Git Repo - qemu.git/commit - tests/migration-test.c
test: execute g_test_run when tests are skipped
authorPaolo Bonzini <[email protected]>
Thu, 29 Nov 2018 17:45:30 +0000 (18:45 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 11 Jan 2019 12:57:25 +0000 (13:57 +0100)
commit4848cb3d9fd3f7a13a9ac5166b97a594dc67d2ab
tree5ecd1768a1221bb84138612014c806036410ffbb
parent4ac80866476cc84825f57d239d210effeddf7146
test: execute g_test_run when tests are skipped

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 <[email protected]>
Message-Id: <1543513531[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
tests/cdrom-test.c
tests/ivshmem-test.c
tests/migration-test.c
tests/test-crypto-pbkdf.c
This page took 0.026493 seconds and 4 git commands to generate.