Re: [kvm-unit-tests PATCH v3 14/16] scripts/mkstandalone: Export $TARGET

Shaoqin Huang
2025-05-21T06:16:30Z

On 5/7/25 11:12 PM, Alexandru Elisei wrote:
> $TARGET is needed for the test runner to decide if it should use qemu or
> kvmtool, so export it.
>
> Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>

Reviewed-by: Shaoqin Huang <shahuang@redhat.com>

> ---
> scripts/mkstandalone.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/mkstandalone.sh b/scripts/mkstandalone.sh
> index 4f666cefe076..3b2caf198b00 100755
> --- a/scripts/mkstandalone.sh
> +++ b/scripts/mkstandalone.sh
> @@ -47,6 +47,7 @@ generate_test ()
> config_export ARCH_NAME
> config_export TARGET_CPU
> config_export DEFAULT_QEMU_CPU
> + config_export TARGET
>
> echo "echo BUILD_HEAD=$(cat build-head)"
>

--
Shaoqin