aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-20 09:23:31 +0100
committerThomas Huth <thuth@redhat.com>2023-01-26 13:53:52 +0100
commita4267f00925301e908484050fab559c93bee5a1a (patch)
treeb86b1ec2e100b324d06302b661dd53477afb99c5 /tests/qtest
parent2a969c0cbcf575a4c839d60e6ed71bbb9e469fbe (diff)
downloadqemu-a4267f00925301e908484050fab559c93bee5a1a.zip
qemu-a4267f00925301e908484050fab559c93bee5a1a.tar.gz
qemu-a4267f00925301e908484050fab559c93bee5a1a.tar.bz2
tests/qtest/boot-serial-test: Constify tests[] array
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230120082341.59913-2-philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest')
-rw-r--r--tests/qtest/boot-serial-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index b216519..3aef3a9 100644
--- a/tests/qtest/boot-serial-test.c
+++ b/tests/qtest/boot-serial-test.c
@@ -139,7 +139,7 @@ typedef struct testdef {
const uint8_t *bios; /* Set in case we use our own mini bios */
} testdef_t;
-static testdef_t tests[] = {
+static const testdef_t tests[] = {
{ "alpha", "clipper", "", "PCI:" },
{ "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr },
{ "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr},