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>






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux