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 <npig...@gmail.com>
---
  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 <th...@redhat.com>


Reply via email to