[PATCH 1/2] tester: Add option to specify how to load image with QEMU
Chris Johns
chrisj at rtems.org
Sun Aug 21 23:13:19 UTC 2022
OK for this change. I am not sure about the other one so I will leave that for
someone who knows. If no one says anything in the next day please push both.
Thanks
Chris
On 20/8/2022 12:16 am, Daniel Cederman wrote:
> Defaults to "-kernel", but can be changed to, for example, "-bios".
> ---
> tester/rtems/testing/qemu.cfg | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg
> index 3c51bee..0b592ef 100644
> --- a/tester/rtems/testing/qemu.cfg
> +++ b/tester/rtems/testing/qemu.cfg
> @@ -78,6 +78,9 @@
> %ifn %{defined bsp_qemu_extra_opts}
> %define bsp_qemu_extra_opts %{nil}
> %endif
> +%ifn %{defined bsp_qemu_image_type}
> + %define bsp_qemu_image_type -kernel
> +%endif
>
> %define qemu_cmd qemu-system-%{bsp_arch}
> %define qemu_opts %{bsp_qemu_opts} %{bsp_qemu_cov_opts}
> @@ -85,4 +88,4 @@
> #
> # Executable
> #
> -%execute %{qemu_cmd} %{qemu_opts} %{bsp_qemu_extra_opts} -kernel %{test_executable}
> +%execute %{qemu_cmd} %{qemu_opts} %{bsp_qemu_extra_opts} %{bsp_qemu_image_type} %{test_executable}
More information about the devel
mailing list