//boost::unit_test::test_suite* init_unit_test_suite(int, char*[]) int main() { // boost::unit_test::test_suite* test = // BOOST_TEST_SUITE("Boost.Threads: barrier test suite"); // // test->add(BOOST_TEST_CASE(&test_barrier)); test_barrier(); return boost::report_errors(); //return test; }
int main(int c, char **v) { #ifdef RELEASE FILE *fs=fopen("/home/box/main.pid","w"); fprintf(fs,"%d",getpid()); fclose(fs); #endif test_cond(); test_barrier(); return 0; }
int main(){ test_loop(); test_task(); test_reduction(); test_gmove(); test_bcast(); test_reflect(); test_barrier(); #pragma xmp task on t(1) printf("PASS\n"); return 0; }
int main() { test_barrier(5); return 0; }
int main() { test_barrier(); return boost::report_errors(); }