int main(int argc, const char **argv) { printf("Running all tests...\n\n"); int err; if ((err = setjmp(G_err))) { printf("ERROR: %d\n",err); } else { def_sys(); //**** core tests testDef(); testTree(); testMTree(); testStream(); testLabel(); testSemtrex(); testReceptor(); testProcess(); testScape(); testVMHost(); testAccumulator(); //***** examples testProfileExample(); testHTTPExample(); sys_free(); report_tests(); } pthread_exit(NULL); // return 0; }
int main(int argc, const char **argv) { printf("Running all tests...\n\n"); int err; if ((err = setjmp(G_err))) { printf("ERROR: %d\n",err); } else { G_sem = def_sys(); load_contexts(G_sem); //**** core tests testSemTable(); testDef(); testTree(); testMTree(); testStream(); testLabel(); testSemtrex(); testProcess(); testReceptor(); testScape(); testVMHost(); testAccumulator(); testProtocol(); /**** receptor tests */ /* /\* testGroup(); *\/ */ testHTTP(); /****** examples */ /* testProfileExample(); */ sys_free(G_sem); report_tests(); } pthread_exit(NULL); // return 0; }