diff mbox series

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

Message ID 20240514174253.694591-2-alex.bennee@linaro.org
State Superseded
Headers show
Series maintainer updates (plugins, testing) pre-PR | expand

Commit Message

Alex Bennée May 14, 2024, 5:42 p.m. UTC
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(-)

Comments

Pierrick Bouvier May 14, 2024, 5:49 p.m. UTC | #1
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>
diff mbox series

Patch

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