You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
524 B
26 lines
524 B
#include "test.h" |
|
|
|
static void create_test_suite() |
|
{ |
|
add_node_suite(); |
|
add_image_suite(); |
|
add_tree_suite(); |
|
add_util_suite(); |
|
add_rockridge_suite(); |
|
add_stream_suite(); |
|
} |
|
|
|
int main(int argc, char **argv) |
|
{ |
|
/* initialize the CUnit test registry */ |
|
if (CUE_SUCCESS != CU_initialize_registry()) |
|
return CU_get_error(); |
|
|
|
create_test_suite(); |
|
|
|
/* Run all tests using the console interface */ |
|
CU_basic_set_mode(CU_BRM_VERBOSE); |
|
CU_basic_run_tests(); |
|
CU_cleanup_registry(); |
|
return CU_get_error(); |
|
}
|
|
|