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

Thomas Huth thuth at redhat.com
Mon Mar 4 17:05:20 AEDT 2024


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 at 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 <thuth at redhat.com>




More information about the Linuxppc-dev mailing list