tests/qtest: Enable more tests for the "mipsel" target
PATCH 1/1 tests/qtest: Enable more tests for the "mipsel" target
Allow the same set of tests for all MIPS targets, so that "mipsel" now gets some additional test coverage, too. While we're at it, simplify the definitions for qtests_mips64 and qtests_mips64el.
Signed-off-by Thomas Huth <[email protected]>
--- tests/qtest/endianness-test.c | 1 + tests/qtest/meson.build | 14 +++----------- 2 files changed, 4 insertions(+), 11 deletions(-)
tests/qtest/endianness-test.c +1 -0
@@ -28,6 +28,7 @@ struct TestCase {static const TestCase test_cases[] = { {"i386" ,"pc" ,-1 }, {"mips" ,"malta" ,0x10000000 , .bswap = true }, + {"mipsel" ,"malta" ,0x10000000 }, {"mips64" ,"magnum" ,0x90000000 , .bswap = true }, {"mips64" ,"pica61" ,0x90000000 , .bswap = true }, {"mips64" ,"malta" ,0x10000000 , .bswap = true },
tests/qtest/meson.build +3 -11
@@ -143,17 +143,9 @@ qtests_mips = \ (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) + \ (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) -qtests_mips64 = \ - ['test-filter-mirror', 'test-filter-redirector'] + \ - (slirp.found() ? ['test-netfilter'] : []) + \ - (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) + \ - (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) - -qtests_mips64el = \ - ['test-filter-mirror', 'test-filter-redirector'] + \ - (slirp.found() ? ['test-netfilter'] : []) + \ - (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) + \ - (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) +qtests_mipsel = qtests_mips +qtests_mips64 = qtests_mips +qtests_mips64el = qtests_mips qtests_ppc = \ ['test-filter-mirror', 'test-filter-redirector'] + \
Signature · 1 line
2.27.0
Quoted 9 lines · Thomas Huth
Allow the same set of tests for all MIPS targets, so that "mipsel" now gets some additional test coverage, too. While we're at it, simplify the definitions for
qtests_mips64andqtests_mips64el.Signed-off-by Thomas Huth <[email protected]>--- tests/qtest/endianness-test.c | 1 + tests/qtest/meson.build | 14 +++----------- 2 files changed, 4 insertions(+), 11 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>