From: Paolo Bonzini <pbonzini@redhat.com>
To: Andrew Jones <drjones@redhat.com>, kvm@vger.kernel.org
Cc: rkrcmar@redhat.com
Subject: Re: [kvm-unit-tests PATCH 2/6] mkstandalone: fix generation for arm
Date: Tue, 26 Jan 2016 12:01:17 +0100 [thread overview]
Message-ID: <56A751FD.6040106@redhat.com> (raw)
In-Reply-To: <1453474709-10679-3-git-send-email-drjones@redhat.com>
On 22/01/2016 15:58, Andrew Jones wrote:
> The mkstandalone rewrite now packages the architecture run scripts.
> This brings many benefits, but at the cost of no longer being able
> to source additional files from the run script, at least not while
> in standalone mode. We can live with that, but arm/run was sourcing
> config.mak, so we need to stop that in standalone mode, as well as
> to provide the standalone arm/run script what it needs.
>
> Signed-off-by: Andrew Jones <drjones@redhat.com>
> ---
> arm/run | 10 ++++++----
> scripts/mkstandalone.sh | 11 ++++++++++-
> 2 files changed, 16 insertions(+), 5 deletions(-)
>
> diff --git a/arm/run b/arm/run
> index 4a648697d7fb5..0158ca5649a9f 100755
> --- a/arm/run
> +++ b/arm/run
> @@ -1,10 +1,12 @@
> #!/bin/bash
>
> -if [ ! -f config.mak ]; then
> - echo run ./configure first. See ./configure -h
> - exit 2
> +if [ -z "$STANDALONE" ]; then
What do you think about checking:
if [ "${ARCH:+set}" != set ]; then
instead?
Paolo
> + if [ ! -f config.mak ]; then
> + echo "run ./configure && make first. See ./configure -h"
> + exit 2
> + fi
> + source config.mak
> fi
> -source config.mak
> processor="$PROCESSOR"
>
next prev parent reply other threads:[~2016-01-26 11:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 14:58 [kvm-unit-tests PATCH 0/6] run_tests fixes and new functionality prep Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 1/6] run_tests.sh: a few rewrite fixups Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 2/6] mkstandalone: fix generation for arm Andrew Jones
2016-01-26 11:01 ` Paolo Bonzini [this message]
2016-01-26 12:21 ` Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 3/6] arch-run: DRYRUN is no longer needed, kill it Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 4/6] arm/run: allow tests to run in AArch32 mode Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 5/6] runtime: move getopts to run_tests.sh Andrew Jones
2016-01-26 11:06 ` Paolo Bonzini
2016-01-26 12:24 ` Andrew Jones
2016-01-22 14:58 ` [kvm-unit-tests PATCH 6/6] runtime: make the MAX_SMP loop a function Andrew Jones
2016-01-26 11:08 ` Paolo Bonzini
2016-01-26 12:28 ` Andrew Jones
2016-01-26 12:38 ` Paolo Bonzini
2016-01-22 15:29 ` [kvm-unit-tests PATCH 0/6] run_tests fixes and new functionality prep Radim Krčmář
2016-01-26 11:09 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A751FD.6040106@redhat.com \
--to=pbonzini@redhat.com \
--cc=drjones@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=rkrcmar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.