tests: skip some slow tests when valgrinding

This commit is contained in:
Dirk-Jan C. Binnema
2025-05-24 21:04:49 +03:00
parent e367f5b0d1
commit cc1112d342
2 changed files with 8 additions and 1 deletions

View File

@ -489,6 +489,8 @@ test_index_basic()
g_assert_cmpuint(prog.updated,==, 0);
g_assert_cmpuint(prog.removed,==, 0);
mu_test_skip_valgrind_return();
Indexer::Config conf{};
conf.ignore_noupdate = true;
@ -540,6 +542,8 @@ test_index_lazy()
{
allow_warnings();
mu_test_skip_valgrind_return();
TempDir tdir;
auto store = Store::make_new(tdir.path(), MU_TESTMAILDIR2);
assert_valid_result(store);