diff options
| author | Thomas Huth <thuth@redhat.com> | 2022-04-14 15:01:27 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2022-04-20 08:59:04 +0200 |
| commit | b911c30c566dee48a27bc1bfa1ee6df3a729cbbb (patch) | |
| tree | 8dfa0e340220eb8587e534ba4b4596561bb03a36 /tests/qtest/fuzz-sdcard-test.c | |
| parent | 2051658061a102f49e68419a0052991222157b56 (diff) | |
| download | focaccia-qemu-b911c30c566dee48a27bc1bfa1ee6df3a729cbbb.tar.gz focaccia-qemu-b911c30c566dee48a27bc1bfa1ee6df3a729cbbb.zip | |
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-sdcard-test.c')
| -rw-r--r-- | tests/qtest/fuzz-sdcard-test.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/qtest/fuzz-sdcard-test.c b/tests/qtest/fuzz-sdcard-test.c index 0f94965a66..d0f4e0e93c 100644 --- a/tests/qtest/fuzz-sdcard-test.c +++ b/tests/qtest/fuzz-sdcard-test.c @@ -164,15 +164,11 @@ static void oss_fuzz_36391(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/sdcard/oss_fuzz_29225", oss_fuzz_29225); - qtest_add_func("fuzz/sdcard/oss_fuzz_36217", oss_fuzz_36217); - qtest_add_func("fuzz/sdcard/oss_fuzz_36391", oss_fuzz_36391); - } + qtest_add_func("fuzz/sdcard/oss_fuzz_29225", oss_fuzz_29225); + qtest_add_func("fuzz/sdcard/oss_fuzz_36217", oss_fuzz_36217); + qtest_add_func("fuzz/sdcard/oss_fuzz_36391", oss_fuzz_36391); - return g_test_run(); + return g_test_run(); } |