diff -r 310019ddfe4e -r d6d8712e15bc test/test_allocator.c --- a/test/test_allocator.c Tue Sep 28 18:03:10 2021 +0200 +++ b/test/test_allocator.c Tue Sep 28 18:05:52 2021 +0200 @@ -80,22 +80,13 @@ } suite = CU_add_suite("default allocator", NULL, NULL); - if (NULL == suite) { - CU_cleanup_registry(); - return CU_get_error(); - } - if ( - !CU_add_test(suite, "default allocator available", test_default_allocator_available) || - !CU_add_test(suite, "test of malloc()", test_default_malloc)|| - !CU_add_test(suite, "test of realloc()", test_default_realloc) || - !CU_add_test(suite, "test of realloc() via cxReallocate", test_default_reallocate) || - !CU_add_test(suite, "test of calloc()", test_default_calloc) || - !CU_add_test(suite, "test of free()", test_default_free) - ) { - CU_cleanup_registry(); - return CU_get_error(); - } + CU_add_test(suite, "default allocator available", test_default_allocator_available); + CU_add_test(suite, "test of malloc()", test_default_malloc); + CU_add_test(suite, "test of realloc()", test_default_realloc); + CU_add_test(suite, "test of realloc() via cxReallocate", test_default_reallocate); + CU_add_test(suite, "test of calloc()", test_default_calloc); + CU_add_test(suite, "test of free()", test_default_free); CU_basic_set_mode(UCX_CU_BRM);