commit | a46f8a63cde8d4fee05693bc5c566c1374d0baaa | [log] [tgz] |
---|---|---|
author | Wainer dos Santos Moschetta <wainersm@redhat.com> | Mon Mar 09 23:50:58 2020 -0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:59:10 2020 +0100 |
tree | a2f51258c13020d94b6935f611bd9efe829fffbe | |
parent | 3203a01737af5c929854940cc72425bef553d403 [diff] |
selftests: kvm: Introduce the TEST_FAIL macro Some tests/utilities use the TEST_ASSERT(false, ...) pattern to indicate a failure and stop execution. This change introduces the TEST_FAIL macro which is a wrap around TEST_ASSERT(false, ...) and so provides a direct alternative for failing a test. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>