mbox series

[v2,0/2] kvm: selftests: Introduce TEST_FAIL and convert

Message ID 20200310025059.9301-1-wainersm@redhat.com (mailing list archive)
Headers show
Series kvm: selftests: Introduce TEST_FAIL and convert | expand

Message

Wainer dos Santos Moschetta March 10, 2020, 2:50 a.m. UTC
Introduce the TEST_FAIL macro and change the tests/utilities
to use it.

v1 -> v2:
- Completed the conversion to TEST_FAIL.

v1:
- [RFC PATCH 0/1] kvm: selftests: Add TEST_FAIL macro
  https://lore.kernel.org/kvm/20200305172532.9360-1-wainersm@redhat.com/

Wainer dos Santos Moschetta (2):
  selftests: kvm: Introduce the TEST_FAIL macro
  selftests: kvm: Uses TEST_FAIL in tests/utilities

 tools/testing/selftests/kvm/dirty_log_test.c  |  7 +++----
 .../testing/selftests/kvm/include/test_util.h |  3 +++
 .../selftests/kvm/lib/aarch64/processor.c     | 17 +++++++--------
 .../testing/selftests/kvm/lib/aarch64/ucall.c |  2 +-
 tools/testing/selftests/kvm/lib/io.c          | 12 +++++------
 tools/testing/selftests/kvm/lib/kvm_util.c    | 21 ++++++++-----------
 .../selftests/kvm/lib/x86_64/processor.c      |  5 ++---
 .../kvm/x86_64/cr4_cpuid_sync_test.c          |  4 ++--
 .../testing/selftests/kvm/x86_64/evmcs_test.c |  6 +++---
 .../testing/selftests/kvm/x86_64/state_test.c |  6 +++---
 .../selftests/kvm/x86_64/svm_vmcall_test.c    |  6 ++----
 .../kvm/x86_64/vmx_close_while_nested_test.c  |  4 ++--
 .../selftests/kvm/x86_64/vmx_dirty_log_test.c |  6 +++---
 .../kvm/x86_64/vmx_tsc_adjust_test.c          |  4 ++--
 14 files changed, 49 insertions(+), 54 deletions(-)

Comments

Paolo Bonzini March 14, 2020, 11:37 a.m. UTC | #1
On 10/03/20 03:50, Wainer dos Santos Moschetta wrote:
> Introduce the TEST_FAIL macro and change the tests/utilities
> to use it.
> 
> v1 -> v2:
> - Completed the conversion to TEST_FAIL.
> 
> v1:
> - [RFC PATCH 0/1] kvm: selftests: Add TEST_FAIL macro
>   https://lore.kernel.org/kvm/20200305172532.9360-1-wainersm@redhat.com/
> 
> Wainer dos Santos Moschetta (2):
>   selftests: kvm: Introduce the TEST_FAIL macro
>   selftests: kvm: Uses TEST_FAIL in tests/utilities
> 
>  tools/testing/selftests/kvm/dirty_log_test.c  |  7 +++----
>  .../testing/selftests/kvm/include/test_util.h |  3 +++
>  .../selftests/kvm/lib/aarch64/processor.c     | 17 +++++++--------
>  .../testing/selftests/kvm/lib/aarch64/ucall.c |  2 +-
>  tools/testing/selftests/kvm/lib/io.c          | 12 +++++------
>  tools/testing/selftests/kvm/lib/kvm_util.c    | 21 ++++++++-----------
>  .../selftests/kvm/lib/x86_64/processor.c      |  5 ++---
>  .../kvm/x86_64/cr4_cpuid_sync_test.c          |  4 ++--
>  .../testing/selftests/kvm/x86_64/evmcs_test.c |  6 +++---
>  .../testing/selftests/kvm/x86_64/state_test.c |  6 +++---
>  .../selftests/kvm/x86_64/svm_vmcall_test.c    |  6 ++----
>  .../kvm/x86_64/vmx_close_while_nested_test.c  |  4 ++--
>  .../selftests/kvm/x86_64/vmx_dirty_log_test.c |  6 +++---
>  .../kvm/x86_64/vmx_tsc_adjust_test.c          |  4 ++--
>  14 files changed, 49 insertions(+), 54 deletions(-)
> 

Queued, thanks.

Paolo