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-lsi53c895a-test.c | |
parent | 2051658061a102f49e68419a0052991222157b56 (diff) |
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-lsi53c895a-test.c')
-rw-r--r-- | tests/qtest/fuzz-lsi53c895a-test.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/qtest/fuzz-lsi53c895a-test.c b/tests/qtest/fuzz-lsi53c895a-test.c index ba5d468970..031d9de241 100644 --- a/tests/qtest/fuzz-lsi53c895a-test.c +++ b/tests/qtest/fuzz-lsi53c895a-test.c @@ -39,14 +39,10 @@ static void test_lsi_do_dma_empty_queue(void) int main(int argc, char **argv) { - const char *arch = qtest_get_arch(); - g_test_init(&argc, &argv, NULL); - if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { - qtest_add_func("fuzz/lsi53c895a/lsi_do_dma_empty_queue", - test_lsi_do_dma_empty_queue); - } + qtest_add_func("fuzz/lsi53c895a/lsi_do_dma_empty_queue", + test_lsi_do_dma_empty_queue); return g_test_run(); } |