summaryrefslogtreecommitdiff
path: root/tester/rtems
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-23 14:57:07 +1100
committerChris Johns <chrisj@rtems.org>2018-11-23 14:57:07 +1100
commit82254b0de22e37481588af4fcf139f9b2018b160 (patch)
tree5c09832e642569f240d3b900d7b935e4a701f283 /tester/rtems
parentf9a17cd2a1ba3a03bc167ccd91202698e9d86e5e (diff)
tester: Change the QEMU command line to match the RSB built QEMU.
The command line changed and the RSB is the newer version. Make the old version via a config variable.
Diffstat (limited to 'tester/rtems')
-rw-r--r--tester/rtems/testing/qemu.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg
index 52a3752..e37dc9b 100644
--- a/tester/rtems/testing/qemu.cfg
+++ b/tester/rtems/testing/qemu.cfg
@@ -51,8 +51,11 @@
#
# Qemu common option patterns.
#
-%define qemu_opts_base -no-reboot -monitor none -serial stdio -nographic
-#%define qemu_opts_base -no-reboot -serial null -serial mon:stdio -nographic
+%if %{defined qemu_use_serial_console}
+ %define qemu_opts_base -no-reboot -monitor none -serial stdio -nographic
+%else
+ %define qemu_opts_base -no-reboot -serial null -serial mon:stdio -nographic
+%endif
%define qemu_opts_no_net -net none
#