regressions/ck_hs: Serial coverage for rebuild.

ck_pring
Samy Al Bahra 11 years ago
parent f7eff4d61b
commit 5f6cbabc4b

@ -220,6 +220,13 @@ run_test(unsigned int is, unsigned int ad)
if (ck_hs_move(&hs[j + 1], &hs[j], hs_hash, hs_compare, &my_allocator) == false) if (ck_hs_move(&hs[j + 1], &hs[j], hs_hash, hs_compare, &my_allocator) == false)
ck_error("Failed to move hash table"); ck_error("Failed to move hash table");
if (j & 1) {
ck_hs_gc(&hs[j + 1]);
}
if (ck_hs_rebuild(&hs[j + 1]) == false)
ck_error("Failed to rebuild");
} }
return; return;

Loading…
Cancel
Save