Ejemplo n.º 1
0
static void Init(rtems_task_argument arg)
{
  test_context *self = &test_instance;
  int i;
  int j;
  int k;

  TEST_BEGIN();

  test_context_is_executing();

  for (i = 0; i < 2; ++i) {
    for (j = 0; j < 2; ++j) {
      for (k = 0; k < 2; ++k) {
        printf("Test configuration %s %s %s... ", desc(i), desc(j), desc(k));
        test(self, is_fp(i), is_fp(j), is_fp(k));
        printf("done\n");
      }
    }
  }

  TEST_END();

  rtems_test_exit(0);
}
Ejemplo n.º 2
0
static void Init(rtems_task_argument arg)
{
  test_context *self = &test_instance;

  TEST_BEGIN();

  test_context_is_executing();
  test(self);

  TEST_END();

  rtems_test_exit(0);
}