Changeset a8ac273c in rtems for testsuites/samples


Ignore:
Timestamp:
Mar 24, 2016, 7:40:19 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7a904cbe
Parents:
6f9c3e55
git-author:
Sebastian Huber <sebastian.huber@…> (03/24/16 07:40:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/29/16 05:26:43)
Message:

samples/base_mp: Check directive status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_mp/init.c

    r6f9c3e55 ra8ac273c  
    3636  status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE,
    3737             RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid );
     38  rtems_test_assert(status == RTEMS_SUCCESSFUL);
     39
    3840  status = rtems_task_start(
    3941    tid,
     
    4143    Multiprocessing_configuration.node
    4244  );
    43   status = rtems_task_delete( RTEMS_SELF );
     45  rtems_test_assert(status == RTEMS_SUCCESSFUL);
     46
     47  rtems_task_delete( RTEMS_SELF );
    4448}
Note: See TracChangeset for help on using the changeset viewer.