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>
This commit is contained in:
parent
2a969c0cbc
commit
a4267f0092
@ -139,7 +139,7 @@ typedef struct testdef {
|
|||||||
const uint8_t *bios; /* Set in case we use our own mini bios */
|
const uint8_t *bios; /* Set in case we use our own mini bios */
|
||||||
} testdef_t;
|
} testdef_t;
|
||||||
|
|
||||||
static testdef_t tests[] = {
|
static const testdef_t tests[] = {
|
||||||
{ "alpha", "clipper", "", "PCI:" },
|
{ "alpha", "clipper", "", "PCI:" },
|
||||||
{ "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr },
|
{ "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr },
|
||||||
{ "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr},
|
{ "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user