int main(int argc, char **argv) { osmo_init_logging(&log_info); test_messages(); printf("Done\n"); return EXIT_SUCCESS; }
int main() #endif { tnet_startup(); #if RUN_TEST_LOOP for(;;) #endif { /* Print copyright information */ printf("Doubango Project\nCopyright (C) 2009 - 2010 Mamadou Diop \n\n"); #if RUN_TEST_ALL || RUN_TEST_MESSAGES test_messages(); #endif #if RUN_TEST_ALL || RUN_TEST_URI test_uri(); #endif #if RUN_TEST_ALL ||RUN_TEST_TRANSAC test_transac(); #endif #if RUN_TEST_ALL || RUN_TEST_STACK test_stack(); #endif #if RUN_TEST_ALL || RUN_TEST_IMS_AKA test_imsaka(); #endif } tnet_cleanup(); return 0; }