[PATCH 01/11] tests/tcg: don't append QEMU_OPTS for armv6m-undef test

Alex Bennée posted 11 patches 6 months, 2 weeks ago
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
[PATCH 01/11] tests/tcg: don't append QEMU_OPTS for armv6m-undef test
Posted by Alex Bennée 6 months, 2 weeks ago
We don't want to build on the default machine setup here but define a
custom one for the microbit.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/tcg/arm/Makefile.softmmu-target | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target
index 4c9264057f..39e01ce49d 100644
--- a/tests/tcg/arm/Makefile.softmmu-target
+++ b/tests/tcg/arm/Makefile.softmmu-target
@@ -16,7 +16,7 @@ test-armv6m-undef: test-armv6m-undef.S
 		$< -o $@ -nostdlib -N -static \
 		-T $(ARM_SRC)/$@.ld
 
-run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
+run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M microbit -kernel
 
 ARM_TESTS+=test-armv6m-undef
 
-- 
2.39.2


Re: [PATCH 01/11] tests/tcg: don't append QEMU_OPTS for armv6m-undef test
Posted by Pierrick Bouvier 6 months, 2 weeks ago
On 5/14/24 10:42, Alex Bennée wrote:
> We don't want to build on the default machine setup here but define a
> custom one for the microbit.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   tests/tcg/arm/Makefile.softmmu-target | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target
> index 4c9264057f..39e01ce49d 100644
> --- a/tests/tcg/arm/Makefile.softmmu-target
> +++ b/tests/tcg/arm/Makefile.softmmu-target
> @@ -16,7 +16,7 @@ test-armv6m-undef: test-armv6m-undef.S
>   		$< -o $@ -nostdlib -N -static \
>   		-T $(ARM_SRC)/$@.ld
>   
> -run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
> +run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M microbit -kernel
>   
>   ARM_TESTS+=test-armv6m-undef
>   

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>