示例#1
0
//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;
}
示例#2
0
文件: main.cpp 项目: jul-star/m731
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;
}
示例#3
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;
}
示例#4
0
int main()
{
  test_barrier(5);

  return 0;
}
示例#5
0
int main()
{

    test_barrier();
    return boost::report_errors();
}