sptests/spsem0[12]: Use rtems_test_exit()

This commit is contained in:
Sebastian Huber
2014-02-05 12:54:36 +01:00
parent 2082809919
commit 67f2a28e69
2 changed files with 4 additions and 4 deletions

View File

@@ -130,8 +130,8 @@ rtems_task Task01(rtems_task_argument ignored)
printf("TA01: exiting\n");
printf("*** END OF SEM01 ***\n");
status = rtems_task_delete( RTEMS_SELF);
directive_failed( status, "rtems_task_delete TA01");
rtems_test_exit(0);
}
/* TA02 starts at Task02 with priority 34 */

View File

@@ -148,8 +148,8 @@ rtems_task Task01(rtems_task_argument ignored)
printf("TA01: exiting\n");
printf("*** END OF SEM02 ***\n");
status = rtems_task_delete( RTEMS_SELF);
directive_failed( status, "rtems_task_delete TA01");
rtems_test_exit(0);
}
/* TA02 starts at Task02 with priority 34 */