int main(int argc, char *argv[]) { cunit_setup = setup; cunit_teardown = teardown; test_core(); test_init_shutdown(); freelist_init(HEAP_SIZE); test(malloc0); test(malloc1); test(malloc_word_size); test(malloc_2x_word_size); test(one_malloc); test(two_malloc); test(free_NULL); test(free_random); test(free_stale); test(malloc_then_free); test(three_malloc); test(five_malloc); test(free_without_merging); test(merge_with_head); test(merge_with_end); test(merge_with_middle); test(fuse_to_one); test(long_freelist); test(search_along_list); test(exact_fit); test(split_chunk); }
int main(int argc, char **argv) { grpc_test_init(argc, argv); test_init_shutdown(); test_create_and_destroy(); test_record_and_get_stats(); test_record_stats_on_unknown_op_id(); test_record_stats_with_trace_store_uninitialized(); return 0; }
int main(int argc, char** argv) { grpc_test_init(argc, argv); test_init_shutdown(); test_start_op_generates_locally_unique_ids(); test_get_trace_method_name(); test_concurrency(); test_add_method_tag_to_unknown_op_id(); test_trace_print(); test_get_active_ops(); return 0; }
int main(int argc, char *argv[]) { // long pagesize = sysconf(_SC_PAGE_SIZE); // 4096 on my mac laptop // printf("pagesize == %ld\n", pagesize); cunit_setup = setup; cunit_teardown = teardown; test_core(); test_init_shutdown(); freelist_init(HEAP_SIZE); test(malloc0); test(malloc1); test(malloc_word_size); test(malloc_2x_word_size); test(one_malloc); test(two_malloc); test(free_NULL); test(free_random); test(free_stale); test(malloc_then_free); }