Ejemplo n.º 1
0
int main() {
	test_create_pointer_stack();
	test_main();
	test_extended();
	test_io();
	test_limitation();
	test_optimization();
	test_private();
	test_protection();
	return 0;
}
Ejemplo n.º 2
0
static int 
parent_main (int   argc,
	     char *argv[])
{
  /* test mapping with various flag combinations */
  test_mapping ();

  /* test private modification */
  test_private ();

  /* test multiple clients, non-shared */
  test_child_private (argv[0]);

  return 0;
}
Ejemplo n.º 3
0
int main()
{
  int error = 0;
  check_offloading();

  // Clauses
  error += test_aligned();
  error += test_collapsed();
  error += test_lastprivate();
  error += test_linear();
  error += test_private();
  error += test_safelen();

  // report
  printf("done with %d errors\n", error);
  return error;
}