Skip to content
Snippets Groups Projects
Commit a191774e authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Reenabled other libknot unittests.

Issue #1202 seems fixed, though from time to time the cuckoo tests
crash on SIGSEGV during delete. Should look into that later.

fixes #1202
parent faa591d7
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,8 @@ static int test_cuckoo_lookup(ck_hash_table_t *table,
{
int errors = 0;
for (int i = 0; i < items->count; ++i) {
// printf("Searching for key: %.*s, size %zu.\n",
// items->key_sizes[i], items->keys[i], items->key_sizes[i]);
const ck_hash_table_item_t *found = ck_find_item(
table, items->keys[i], items->key_sizes[i]);
if (!found) {
......
......@@ -29,19 +29,19 @@ int main(int argc, char *argv[])
/* DNS units */
&cuckoo_tests_api, //! Cuckoo hashing unit
// &dname_tests_api, //! DNS library (dname) unit
// &edns_tests_api, //! DNS library (EDNS0) unit
// &zone_tests_api, //! DNS library (zone) unit
// &node_tests_api, //! DNS library (node) unit
// &rdata_tests_api, //! DNS library (rdata) unit
// &response_tests_api, //! DNS library (response) unit
// &rrset_tests_api, //! DNS library (rrset) unit
// &dname_table_tests_api,
// &nsec3_tests_api,
// &packet_tests_api,
// &query_tests_api,
// &zonedb_tests_api, //! DNS library (zonedb) unit
// &zone_tree_tests_api,
&dname_tests_api, //! DNS library (dname) unit
&edns_tests_api, //! DNS library (EDNS0) unit
&zone_tests_api, //! DNS library (zone) unit
&node_tests_api, //! DNS library (node) unit
&rdata_tests_api, //! DNS library (rdata) unit
&response_tests_api, //! DNS library (response) unit
&rrset_tests_api, //! DNS library (rrset) unit
&dname_table_tests_api,
&nsec3_tests_api,
&packet_tests_api,
&query_tests_api,
&zonedb_tests_api, //! DNS library (zonedb) unit
&zone_tree_tests_api,
NULL
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment