aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/fuzz-sb16-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-04-14 15:01:27 +0200
committerThomas Huth <thuth@redhat.com>2022-04-20 08:59:04 +0200
commitb911c30c566dee48a27bc1bfa1ee6df3a729cbbb (patch)
tree8dfa0e340220eb8587e534ba4b4596561bb03a36 /tests/qtest/fuzz-sb16-test.c
parent2051658061a102f49e68419a0052991222157b56 (diff)
downloadqemu-b911c30c566dee48a27bc1bfa1ee6df3a729cbbb.zip
qemu-b911c30c566dee48a27bc1bfa1ee6df3a729cbbb.tar.gz
qemu-b911c30c566dee48a27bc1bfa1ee6df3a729cbbb.tar.bz2
tests/qtest: Move the fuzz tests to x86 only
The fuzz tests are currently scheduled for all targets, but their setup code limits the run to "i386", so that these tests always show "SKIP" on other targets. Move it to the right x86 list in meson.build, then we can drop the architecture check during runtime, too. Message-Id: <20220414130127.719528-1-thuth@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/fuzz-sb16-test.c')
-rw-r--r--tests/qtest/fuzz-sb16-test.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/qtest/fuzz-sb16-test.c b/tests/qtest/fuzz-sb16-test.c
index f47a8bc..91fdcd1 100644
--- a/tests/qtest/fuzz-sb16-test.c
+++ b/tests/qtest/fuzz-sb16-test.c
@@ -55,15 +55,11 @@ static void test_fuzz_sb16_0xd4(void)
int main(int argc, char **argv)
{
- const char *arch = qtest_get_arch();
-
g_test_init(&argc, &argv, NULL);
- if (strcmp(arch, "i386") == 0) {
- qtest_add_func("fuzz/test_fuzz_sb16/1c", test_fuzz_sb16_0x1c);
- qtest_add_func("fuzz/test_fuzz_sb16/91", test_fuzz_sb16_0x91);
- qtest_add_func("fuzz/test_fuzz_sb16/d4", test_fuzz_sb16_0xd4);
- }
+ qtest_add_func("fuzz/test_fuzz_sb16/1c", test_fuzz_sb16_0x1c);
+ qtest_add_func("fuzz/test_fuzz_sb16/91", test_fuzz_sb16_0x91);
+ qtest_add_func("fuzz/test_fuzz_sb16/d4", test_fuzz_sb16_0xd4);
- return g_test_run();
+ return g_test_run();
}