Do not run the FuProgress self tests by default

These add over 1000ms to the run time, and also do not work well when
virtualized via qemu.

Fixes https://github.com/fwupd/fwupd/issues/5547
This commit is contained in:
Richard Hughes 2023-02-18 07:56:34 +00:00
parent 9407c5680f
commit 12cfdd2901

View File

@ -3797,7 +3797,8 @@ main(int argc, char **argv)
g_test_add_func("/fwupd/plugin{quirks-append}", fu_plugin_quirks_append_func);
g_test_add_func("/fwupd/common{strnsplit}", fu_strsplit_func);
g_test_add_func("/fwupd/common{memmem}", fu_common_memmem_func);
g_test_add_func("/fwupd/progress", fu_progress_func);
if (g_test_slow())
g_test_add_func("/fwupd/progress", fu_progress_func);
g_test_add_func("/fwupd/progress{child}", fu_progress_child_func);
g_test_add_func("/fwupd/progress{child-finished}", fu_progress_child_finished);
g_test_add_func("/fwupd/progress{parent-1-step}", fu_progress_parent_one_step_proxy_func);