Re: [kvm-unit-tests PATCH 2/7] migration: Add a migrate_skip command

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

 



On 26/02/2024 10.38, Nicholas Piggin wrote:
Tests that are run with MIGRATION=yes but skip due to some requirement
not being met will show as a failure due to the harness requirement to
see one successful migration. The workaround for this is to migrate in
test's skip path. Add a new command that just tells the harness to not
expect a migration.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
---
  common/selftest-migration.c | 14 ++++++++-----
  lib/migrate.c               | 19 ++++++++++++++++-
  lib/migrate.h               |  2 ++
  powerpc/unittests.cfg       |  6 ++++++
  s390x/unittests.cfg         |  5 +++++
  scripts/arch-run.bash       | 41 +++++++++++++++++++++++++++++--------
  6 files changed, 73 insertions(+), 14 deletions(-)

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux