From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Date: Tue, 13 Jul 2021 07:45:44 +0000 Subject: Re: [kvm-unit-tests RFC PATCH 2/5] scripts: Rename run_qemu_status -> run_test_status Message-Id: <24f5629f-eff4-11b3-30a3-c6052f533ced@redhat.com> List-Id: References: <20210702163122.96110-1-alexandru.elisei@arm.com> <20210702163122.96110-3-alexandru.elisei@arm.com> In-Reply-To: <20210702163122.96110-3-alexandru.elisei@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexandru Elisei , drjones@redhat.com, pbonzini@redhat.com, lvivier@redhat.com, kvm-ppc@vger.kernel.org, david@redhat.com, frankja@linux.ibm.com, cohuck@redhat.com, imbrenda@linux.ibm.com, linux-s390@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Cc: andre.przywara@arm.com, maz@kernel.org, vivek.gautam@arm.com On 02/07/2021 18.31, Alexandru Elisei wrote: > kvm-unit-tests will get support for running tests automatically under > kvmtool, rename the function to make it more generic. > > Signed-off-by: Alexandru Elisei > --- > scripts/arch-run.bash | 2 +- > powerpc/run | 2 +- > s390x/run | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/scripts/arch-run.bash b/scripts/arch-run.bash > index 5997e384019b..8ceed53ed7f8 100644 > --- a/scripts/arch-run.bash > +++ b/scripts/arch-run.bash > @@ -69,7 +69,7 @@ run_qemu () > return $ret > } > > -run_qemu_status () > +run_test_status () > { > local stdout ret > > diff --git a/powerpc/run b/powerpc/run > index 597ab96ed8a8..312576006504 100755 > --- a/powerpc/run > +++ b/powerpc/run > @@ -31,4 +31,4 @@ command="$(migration_cmd) $(timeout_cmd) $command" > # to fixup the fixup below by parsing the true exit code from the output. > # The second fixup is also a FIXME, because once we add chr-testdev > # support for powerpc, we won't need the second fixup. > -run_qemu_status $command "$@" > +run_test_status $command "$@" > diff --git a/s390x/run b/s390x/run > index c615caa1b772..5a4bb3bda805 100755 > --- a/s390x/run > +++ b/s390x/run > @@ -28,4 +28,4 @@ command+=" -kernel" > command="$(timeout_cmd) $command" > > # We return the exit code via stdout, not via the QEMU return code > -run_qemu_status $command "$@" > +run_test_status $command "$@" > Reviewed-by: Thomas Huth