Changeset c0c4b8b in rtems


Ignore:
Timestamp:
Mar 2, 2021, 6:54:17 AM (7 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
db86c3eb
Parents:
441824a
git-author:
Sebastian Huber <sebastian.huber@…> (03/02/21 06:54:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/02/21 06:56:15)
Message:

validation: Format comment blocks

Location:
testsuites/validation
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • testsuites/validation/tc-barrier-create.c

    r441824a rc0c4b8b  
    279279    case RtemsBarrierReqCreate_Pre_Class_Default: {
    280280      /*
    281        * The ``attribute_set`` parameter shall specify the default
     281       * The ``attribute_set`` parameter shall specify the default class.
     282       */
     283      /* Nothing to do */
     284      break;
     285    }
     286
     287    case RtemsBarrierReqCreate_Pre_Class_Manual: {
     288      /*
     289       * The ``attribute_set`` parameter shall specify the manual release
    282290       * class.
    283291       */
    284       /* Nothing to do */
    285       break;
    286     }
    287 
    288     case RtemsBarrierReqCreate_Pre_Class_Manual: {
    289       /*
    290        * The ``attribute_set`` parameter shall specify the manual
    291        * release class.
    292        */
    293292      ctx->attribute_set |= RTEMS_BARRIER_MANUAL_RELEASE;
    294293      break;
     
    297296    case RtemsBarrierReqCreate_Pre_Class_Auto: {
    298297      /*
    299        * The ``attribute_set`` parameter shall specify the
    300        * automatic release class.
     298       * The ``attribute_set`` parameter shall specify the automatic release
     299       * class.
    301300       */
    302301      ctx->attribute_set |= RTEMS_BARRIER_AUTOMATIC_RELEASE;
     
    344343    case RtemsBarrierReqCreate_Pre_Id_Valid: {
    345344      /*
    346        * The ``id`` parameter shall reference an object
    347        * identifier value.
     345       * The ``id`` parameter shall reference an object identifier value.
    348346       */
    349347      ctx->id = &ctx->id_value;
     
    353351    case RtemsBarrierReqCreate_Pre_Id_Null: {
    354352      /*
    355        * The ``id`` parameter shall be
    356        * NULL.
     353       * The ``id`` parameter shall be NULL.
    357354       */
    358355      ctx->id = NULL;
     
    400397    case RtemsBarrierReqCreate_Post_Status_Ok: {
    401398      /*
    402        * The return status of rtems_barrier_create() shall be
    403        * RTEMS_SUCCESSFUL.
     399       * The return status of rtems_barrier_create() shall be RTEMS_SUCCESSFUL.
    404400       */
    405401      T_rsc_success( ctx->status );
     
    436432    case RtemsBarrierReqCreate_Post_Status_TooMany: {
    437433      /*
    438        * The return status of rtems_barrier_create() shall be
    439        * RTEMS_TOO_MANY.
     434       * The return status of rtems_barrier_create() shall be RTEMS_TOO_MANY.
    440435       */
    441436      T_rsc( ctx->status, RTEMS_TOO_MANY );
     
    493488    case RtemsBarrierReqCreate_Post_Class_NoObj: {
    494489      /*
    495        * The barrier class is not applicable since there was no barrier created.
     490       * The barrier class is not applicable since there was no barrier
     491       * created.
    496492       */
    497493      /* Not applicable */
     
    535531    case RtemsBarrierReqCreate_Post_IdValue_Assigned: {
    536532      /*
    537        * The value of the object identifier variable shall be equal to the object
    538        * identifier of the barrier created by the rtems_barrier_create() call.
     533       * The value of the object identifier variable shall be equal to the
     534       * object identifier of the barrier created by the rtems_barrier_create()
     535       * call.
    539536       */
    540537      T_eq_ptr( ctx->id, &ctx->id_value );
  • testsuites/validation/tc-barrier-delete.c

    r441824a rc0c4b8b  
    185185    case RtemsBarrierReqDelete_Pre_Id_Valid: {
    186186      /*
    187        * The ``id`` parameter shall be associated with
    188        * the barrier.
     187       * The ``id`` parameter shall be associated with the barrier.
    189188       */
    190189      ctx->id = ctx->barrier_id;
     
    213212    case RtemsBarrierReqDelete_Post_Status_Ok: {
    214213      /*
    215        * The return status of rtems_barrier_delete() shall be
    216        * RTEMS_SUCCESSFUL.
     214       * The return status of rtems_barrier_delete() shall be RTEMS_SUCCESSFUL.
    217215       */
    218216      ctx->barrier_id = 0;
     
    223221    case RtemsBarrierReqDelete_Post_Status_InvId: {
    224222      /*
    225        * The return status of rtems_barrier_delete() shall be
    226        * RTEMS_INVALID_ID.
     223       * The return status of rtems_barrier_delete() shall be RTEMS_INVALID_ID.
    227224       */
    228225      T_rsc( ctx->status, RTEMS_INVALID_ID );
  • testsuites/validation/tc-barrier-release.c

    r441824a rc0c4b8b  
    223223    case RtemsBarrierReqRelease_Pre_Barrier_Manual: {
    224224      /*
    225        * The ``id`` parameter shall be associated with a
    226        * manual release barrier.
     225       * The ``id`` parameter shall be associated with a manual release
     226       * barrier.
    227227       */
    228228      ctx->id = ctx->manual_release_id;
     
    232232    case RtemsBarrierReqRelease_Pre_Barrier_Auto: {
    233233      /*
    234        * The ``id`` parameter shall be associated with an
    235        * automatic release barrier.
     234       * The ``id`` parameter shall be associated with an automatic release
     235       * barrier.
    236236       */
    237237      ctx->id = ctx->auto_release_id;
     
    262262    case RtemsBarrierReqRelease_Pre_Released_Null: {
    263263      /*
    264        * The ``released`` parameter shall be
    265        * NULL.
     264       * The ``released`` parameter shall be NULL.
    266265       */
    267266      ctx->released = NULL;
     
    357356    case RtemsBarrierReqRelease_Post_Released_Unchanged: {
    358357      /*
    359        * The value of variable for the number of released tasks shall be unchanged
    360        * by the rtems_barrier_release() call.
     358       * The value of variable for the number of released tasks shall be
     359       * unchanged by the rtems_barrier_release() call.
    361360       */
    362361      T_eq_u32( ctx->released_value, RELEASED_INVALID_VALUE );
  • testsuites/validation/tc-barrier-wait.c

    r441824a rc0c4b8b  
    273273    case RtemsBarrierReqWait_Pre_Barrier_Manual: {
    274274      /*
    275        * The ``id`` parameter shall be associated with a
    276        * manual release barrier.
     275       * The ``id`` parameter shall be associated with a manual release
     276       * barrier.
    277277       */
    278278      ctx->id = ctx->manual_release_id;
     
    282282    case RtemsBarrierReqWait_Pre_Barrier_Auto: {
    283283      /*
    284        * The ``id`` parameter shall be associated with an
    285        * automatic release barrier.
     284       * The ``id`` parameter shall be associated with an automatic release
     285       * barrier.
    286286       */
    287287      ctx->id = ctx->auto_release_id;
     
    302302    case RtemsBarrierReqWait_Pre_Timeout_Ticks: {
    303303      /*
    304        * The ``released`` parameter shall be a clock tick
    305        * interval.
     304       * The ``released`` parameter shall be a clock tick interval.
    306305       */
    307306      ctx->timeout = 2;
     
    311310    case RtemsBarrierReqWait_Pre_Timeout_Forever: {
    312311      /*
    313        * The ``released`` parameter shall be
    314        * RTEMS_NO_TIMEOUT.
     312       * The ``released`` parameter shall be RTEMS_NO_TIMEOUT.
    315313       */
    316314      ctx->timeout = RTEMS_NO_TIMEOUT;
     
    379377    case RtemsBarrierReqWait_Post_Status_Ok: {
    380378      /*
    381        * The return status of rtems_barrier_wait() shall be
    382        * RTEMS_SUCCESSFUL.
     379       * The return status of rtems_barrier_wait() shall be RTEMS_SUCCESSFUL.
    383380       */
    384381      T_rsc_success( ctx->status );
     
    388385    case RtemsBarrierReqWait_Post_Status_InvId: {
    389386      /*
    390        * The return status of rtems_barrier_wait() shall be
    391        * RTEMS_INVALID_ID.
     387       * The return status of rtems_barrier_wait() shall be RTEMS_INVALID_ID.
    392388       */
    393389      T_rsc( ctx->status, RTEMS_INVALID_ID );
     
    397393    case RtemsBarrierReqWait_Post_Status_Timeout: {
    398394      /*
    399        * The return status of rtems_barrier_wait() shall be
    400        * RTEMS_TIMEOUT.
     395       * The return status of rtems_barrier_wait() shall be RTEMS_TIMEOUT.
    401396       */
    402397      T_rsc( ctx->status, RTEMS_TIMEOUT );
  • testsuites/validation/tc-message-construct-errors.c

    r441824a rc0c4b8b  
    317317    case RtemsMessageReqConstructErrors_Pre_MaxPending_Valid: {
    318318      /*
    319        * The maximum number of pending messages of the message queue configuration
    320        * shall be valid.
     319       * The maximum number of pending messages of the message queue
     320       * configuration shall be valid.
    321321       */
    322322      ctx->config.maximum_pending_messages = MAX_PENDING_MESSAGES;
     
    326326    case RtemsMessageReqConstructErrors_Pre_MaxPending_Zero: {
    327327      /*
    328        * The maximum number of pending messages of the message queue configuration
    329        * shall be zero.
     328       * The maximum number of pending messages of the message queue
     329       * configuration shall be zero.
    330330       */
    331331      ctx->config.maximum_pending_messages = 0;
     
    335335    case RtemsMessageReqConstructErrors_Pre_MaxPending_Big: {
    336336      /*
    337        * The maximum number of pending messages of the message queue configuration
    338        * shall be big enough so that a calculation to get the message buffer
    339        * storage area size overflows.
     337       * The maximum number of pending messages of the message queue
     338       * configuration shall be big enough so that a calculation to get the
     339       * message buffer storage area size overflows.
    340340       */
    341341      ctx->config.maximum_pending_messages = UINT32_MAX;
     
    374374    case RtemsMessageReqConstructErrors_Pre_MaxSize_Big: {
    375375      /*
    376        * The maximum message size of the message queue configuration
    377        * shall be big enough so that a calculation to get the message buffer
    378        * storage area size overflows.
     376       * The maximum message size of the message queue configuration shall be
     377       * big enough so that a calculation to get the message buffer storage
     378       * area size overflows.
    379379       */
    380380      ctx->config.maximum_message_size = SIZE_MAX;
     
    455455    case RtemsMessageReqConstructErrors_Pre_AreaSize_Valid: {
    456456      /*
    457        * The message buffer storage area size of the message queue configuration
    458        * shall be valid.
     457       * The message buffer storage area size of the message queue
     458       * configuration shall be valid.
    459459       */
    460460      ctx->config.storage_size = sizeof( buffers );
     
    464464    case RtemsMessageReqConstructErrors_Pre_AreaSize_Invalid: {
    465465      /*
    466        * The message buffer storage area size of the message queue configuration
    467        * shall be invalid.
     466       * The message buffer storage area size of the message queue
     467       * configuration shall be invalid.
    468468       */
    469469      ctx->config.storage_size = SIZE_MAX;
     
    593593    case RtemsMessageReqConstructErrors_Post_IdValue_Assigned: {
    594594      /*
    595        * The value of the object identifier variable shall be equal to the object
    596        * identifier of the message queue constructed by the
     595       * The value of the object identifier variable shall be equal to the
     596       * object identifier of the message queue constructed by the
    597597       * rtems_message_queue_construct() call.
    598598       */
  • testsuites/validation/tc-signal-catch.c

    r441824a rc0c4b8b  
    280280    case RtemsSignalReqCatch_Pre_Preempt_Yes: {
    281281      /*
    282        * The ``mode_set`` parameter shall specify that
    283        * preemption is enabled.
     282       * The ``mode_set`` parameter shall specify that preemption is enabled.
    284283       */
    285284      #if defined(RTEMS_SMP)
     
    295294    case RtemsSignalReqCatch_Pre_Preempt_No: {
    296295      /*
    297        * The ``mode_set`` parameter shall specify that
    298        * preemption is disabled.
     296       * The ``mode_set`` parameter shall specify that preemption is disabled.
    299297       */
    300298      ctx->mode |= RTEMS_NO_PREEMPT;
     
    315313    case RtemsSignalReqCatch_Pre_Timeslice_Yes: {
    316314      /*
    317        * The ``mode_set`` parameter shall specify that
    318        * timeslicing is enabled.
     315       * The ``mode_set`` parameter shall specify that timeslicing is enabled.
    319316       */
    320317      ctx->mode |= RTEMS_TIMESLICE;
     
    324321    case RtemsSignalReqCatch_Pre_Timeslice_No: {
    325322      /*
    326        * The ``mode_set`` parameter shall specify that
    327        * timeslicing is disabled.
     323       * The ``mode_set`` parameter shall specify that timeslicing is disabled.
    328324       */
    329325      ctx->normal_mode |= RTEMS_TIMESLICE;
     
    344340    case RtemsSignalReqCatch_Pre_ASR_Yes: {
    345341      /*
    346        * The ``mode_set`` parameter shall specify that
    347        * ASR processing is enabled.
     342       * The ``mode_set`` parameter shall specify that ASR processing is
     343       * enabled.
    348344       */
    349345      /* We cannot disable ASR processing at normal task level for this test */
     
    353349    case RtemsSignalReqCatch_Pre_ASR_No: {
    354350      /*
    355        * The ``mode_set`` parameter shall specify that
    356        * ASR processing is disabled.
     351       * The ``mode_set`` parameter shall specify that ASR processing is
     352       * disabled.
    357353       */
    358354      ctx->mode |= RTEMS_NO_ASR;
     
    373369    case RtemsSignalReqCatch_Pre_IntLvl_Zero: {
    374370      /*
    375        * The ``mode_set`` parameter shall specify an interrupt
    376        * level of zero.
     371       * The ``mode_set`` parameter shall specify an interrupt level of zero.
    377372       */
    378373      #if !defined(RTEMS_SMP) && CPU_ENABLE_ROBUST_THREAD_DISPATCH == FALSE
     
    384379    case RtemsSignalReqCatch_Pre_IntLvl_Positive: {
    385380      /*
    386        * The ``mode_set`` parameter shall specify a positive
    387        * interrupt level.
     381       * The ``mode_set`` parameter shall specify a positive interrupt level.
    388382       */
    389383      ctx->mode |= RTEMS_INTERRUPT_LEVEL( 1 );
     
    404398    case RtemsSignalReqCatch_Post_Status_Ok: {
    405399      /*
    406        * The return status of rtems_signal_catch() shall be
    407        * RTEMS_SUCCESSFUL.
     400       * The return status of rtems_signal_catch() shall be RTEMS_SUCCESSFUL.
    408401       */
    409402      T_rsc_success( ctx->catch_status );
     
    415408       * Where the system is configured with SMP support, if the scheduler does
    416409       * not support the no-preempt mode, then the return status of
    417        * rtems_signal_catch() shall be RTEMS_NOT_IMPLEMENTED,
    418        * otherwise the return status shall be RTEMS_SUCCESSFUL.
     410       * rtems_signal_catch() shall be RTEMS_NOT_IMPLEMENTED, otherwise the
     411       * return status shall be RTEMS_SUCCESSFUL.
    419412       */
    420413      #if defined(RTEMS_SMP)
     
    435428       * processor maximum is greater than one, or the CPU port enabled robust
    436429       * thread dispatching, the return status of rtems_signal_catch() shall be
    437        * RTEMS_NOT_IMPLEMENTED, otherwise the return status
    438        * shall be RTEMS_SUCCESSFUL.
     430       * RTEMS_NOT_IMPLEMENTED, otherwise the return status shall be
     431       * RTEMS_SUCCESSFUL.
    439432       */
    440433      #if CPU_ENABLE_ROBUST_THREAD_DISPATCH == TRUE
     
    465458    case RtemsSignalReqCatch_Post_Send_New: {
    466459      /*
    467        * When a signal set is sent to the caller of rtems_signal_catch() and the
    468        * call was successful, the ASR processing shall be done with the specified
    469        * handler, otherwise the ASR information of the caller shall be unchanged.
     460       * When a signal set is sent to the caller of rtems_signal_catch() and
     461       * the call was successful, the ASR processing shall be done with the
     462       * specified handler, otherwise the ASR information of the caller shall
     463       * be unchanged.
    470464       */
    471465      T_rsc_success( ctx->send_status );
     
    485479    case RtemsSignalReqCatch_Post_Send_NotDef: {
    486480      /*
    487        * When a signal set is sent to the caller of rtems_signal_catch() and the
    488        * call was successful, the ASR processing shall be deactivated and all
    489        * pending signals shall be cleared, otherwise the ASR information of the
    490        * caller shall be unchanged.
     481       * When a signal set is sent to the caller of rtems_signal_catch() and
     482       * the call was successful, the ASR processing shall be deactivated and
     483       * all pending signals shall be cleared, otherwise the ASR information of
     484       * the caller shall be unchanged.
    491485       */
    492486      if ( ctx->catch_status == RTEMS_SUCCESSFUL ) {
     
    517511    case RtemsSignalReqCatch_Post_Preempt_Yes: {
    518512      /*
    519        * When a signal set is sent to the caller of rtems_signal_catch() and the
    520        * call with a valid handler was successful, the ASR processing shall be
    521        * done with preemption enabled.
     513       * When a signal set is sent to the caller of rtems_signal_catch() and
     514       * the call with a valid handler was successful, the ASR processing shall
     515       * be done with preemption enabled.
    522516       */
    523517      CheckHandlerMode( ctx, RTEMS_PREEMPT_MASK, RTEMS_PREEMPT );
     
    527521    case RtemsSignalReqCatch_Post_Preempt_No: {
    528522      /*
    529        * When a signal set is sent to the caller of rtems_signal_catch() and the
    530        * call with a valid handler was successful, the ASR processing shall be
    531        * done with preemption disabled.
     523       * When a signal set is sent to the caller of rtems_signal_catch() and
     524       * the call with a valid handler was successful, the ASR processing shall
     525       * be done with preemption disabled.
    532526       */
    533527      CheckHandlerMode( ctx, RTEMS_PREEMPT_MASK, RTEMS_NO_PREEMPT );
     
    548542    case RtemsSignalReqCatch_Post_Timeslice_Yes: {
    549543      /*
    550        * When a signal set is sent to the caller of rtems_signal_catch() and the
    551        * call with a valid handler was successful, the ASR processing shall be
    552        * done with timeslicing enabled.
     544       * When a signal set is sent to the caller of rtems_signal_catch() and
     545       * the call with a valid handler was successful, the ASR processing shall
     546       * be done with timeslicing enabled.
    553547       */
    554548      CheckHandlerMode( ctx, RTEMS_TIMESLICE_MASK, RTEMS_TIMESLICE );
     
    558552    case RtemsSignalReqCatch_Post_Timeslice_No: {
    559553      /*
    560        * When a signal set is sent to the caller of rtems_signal_catch() and the
    561        * call with a valid handler was successful, the ASR processing shall be
    562        * done with timeslicing disabled.
     554       * When a signal set is sent to the caller of rtems_signal_catch() and
     555       * the call with a valid handler was successful, the ASR processing shall
     556       * be done with timeslicing disabled.
    563557       */
    564558      CheckHandlerMode( ctx, RTEMS_TIMESLICE_MASK, RTEMS_NO_TIMESLICE );
     
    579573    case RtemsSignalReqCatch_Post_ASR_Yes: {
    580574      /*
    581        * When a signal set is sent to the caller of rtems_signal_catch() and the
    582        * call with a valid handler was successful, the ASR processing shall be
    583        * done with ASR processing enabled.
     575       * When a signal set is sent to the caller of rtems_signal_catch() and
     576       * the call with a valid handler was successful, the ASR processing shall
     577       * be done with ASR processing enabled.
    584578       */
    585579      CheckHandlerMode( ctx, RTEMS_ASR_MASK, RTEMS_ASR );
     
    589583    case RtemsSignalReqCatch_Post_ASR_No: {
    590584      /*
    591        * When a signal set is sent to the caller of rtems_signal_catch() and the
    592        * call with a valid handler was successful, the ASR processing shall be
    593        * done with ASR processing disabled.
     585       * When a signal set is sent to the caller of rtems_signal_catch() and
     586       * the call with a valid handler was successful, the ASR processing shall
     587       * be done with ASR processing disabled.
    594588       */
    595589      CheckHandlerMode( ctx, RTEMS_ASR_MASK, RTEMS_NO_ASR );
     
    610604    case RtemsSignalReqCatch_Post_IntLvl_Zero: {
    611605      /*
    612        * When a signal set is sent to the caller of rtems_signal_catch() and the
    613        * call with a valid handler was successful, the ASR processing shall be
    614        * done with interrupts enabled.
     606       * When a signal set is sent to the caller of rtems_signal_catch() and
     607       * the call with a valid handler was successful, the ASR processing shall
     608       * be done with interrupts enabled.
    615609       */
    616610      CheckHandlerMode( ctx, RTEMS_INTERRUPT_MASK, RTEMS_INTERRUPT_LEVEL( 0 ) );
     
    620614    case RtemsSignalReqCatch_Post_IntLvl_Positive: {
    621615      /*
    622        * When a signal set is sent to the caller of rtems_signal_catch() and the
    623        * call with a valid handler was successful, the ASR processing shall be
    624        * done with interrupts disabled according to the specified interrupt level.
     616       * When a signal set is sent to the caller of rtems_signal_catch() and
     617       * the call with a valid handler was successful, the ASR processing shall
     618       * be done with interrupts disabled according to the specified interrupt
     619       * level.
    625620       */
    626621      CheckHandlerMode( ctx, RTEMS_INTERRUPT_MASK, RTEMS_INTERRUPT_LEVEL( 1 ) );
  • testsuites/validation/tc-signal-send.c

    r441824a rc0c4b8b  
    381381    case RtemsSignalReqSend_Pre_Task_Self: {
    382382      /*
    383        * The ``id`` parameter shall be associated with
    384        * the calling task.
     383       * The ``id`` parameter shall be associated with the calling task.
    385384       */
    386385      ctx->id = RTEMS_SELF;
     
    390389    case RtemsSignalReqSend_Pre_Task_Other: {
    391390      /*
    392        * The ``id`` parameter shall be associated with a
    393        * task other than the calling task.
     391       * The ``id`` parameter shall be associated with a task other than the
     392       * calling task.
    394393       */
    395394      ctx->id = ctx->worker_id;
     
    466465    case RtemsSignalReqSend_Pre_ASR_Enabled: {
    467466      /*
    468        * When the target task has ASR processing enabled, the rtems_signal_send()
    469        * directive shall be called.
     467       * When the target task has ASR processing enabled, the
     468       * rtems_signal_send() directive shall be called.
    470469       */
    471470      ctx->mode = RTEMS_DEFAULT_MODES;
     
    475474    case RtemsSignalReqSend_Pre_ASR_Disabled: {
    476475      /*
    477        * When the target task has ASR processing disabled, the rtems_signal_send()
    478        * directive shall be called.
     476       * When the target task has ASR processing disabled, the
     477       * rtems_signal_send() directive shall be called.
    479478       */
    480479      ctx->mode = RTEMS_NO_ASR;
     
    524523    case RtemsSignalReqSend_Post_Status_Ok: {
    525524      /*
    526        * The return status of rtems_signal_send() shall be
    527        * RTEMS_SUCCESSFUL.
     525       * The return status of rtems_signal_send() shall be RTEMS_SUCCESSFUL.
    528526       */
    529527      T_rsc_success( ctx->status );
     
    542540    case RtemsSignalReqSend_Post_Status_InvId: {
    543541      /*
    544        * The return status of rtems_signal_send() shall be
    545        * RTEMS_INVALID_ID.
     542       * The return status of rtems_signal_send() shall be RTEMS_INVALID_ID.
    546543       */
    547544      T_rsc( ctx->status, RTEMS_INVALID_ID );
     
    551548    case RtemsSignalReqSend_Post_Status_NotDef: {
    552549      /*
    553        * The return status of rtems_signal_send() shall be
    554        * RTEMS_NOT_DEFINED.
     550       * The return status of rtems_signal_send() shall be RTEMS_NOT_DEFINED.
    555551       */
    556552      T_rsc( ctx->status, RTEMS_NOT_DEFINED );
  • testsuites/validation/tc-task-construct-errors.c

    r441824a rc0c4b8b  
    483483    case RtemsTaskReqConstructErrors_Pre_TLS_Enough: {
    484484      /*
    485        * The maximum thread-local storage size of the task configuration shall be
    486        * greater than or equal to the thread-local storage size.
     485       * The maximum thread-local storage size of the task configuration shall
     486       * be greater than or equal to the thread-local storage size.
    487487       */
    488488      ctx->config.maximum_thread_local_storage_size = MAX_TLS_SIZE;
     
    492492    case RtemsTaskReqConstructErrors_Pre_TLS_Small: {
    493493      /*
    494        * The maximum thread-local storage size of the task configuration shall be
    495        * less than the thread-local storage size.
     494       * The maximum thread-local storage size of the task configuration shall
     495       * be less than the thread-local storage size.
    496496       */
    497497      ctx->config.maximum_thread_local_storage_size = 0;
     
    568568    case RtemsTaskReqConstructErrors_Post_Status_Ok: {
    569569      /*
    570        * The return status of rtems_task_construct() shall be
    571        * RTEMS_SUCCESSFUL.
     570       * The return status of rtems_task_construct() shall be RTEMS_SUCCESSFUL.
    572571       */
    573572      T_rsc_success( ctx->status );
     
    613612    case RtemsTaskReqConstructErrors_Post_Status_TooMany: {
    614613      /*
    615        * The return status of rtems_task_construct() shall be
    616        * RTEMS_TOO_MANY.
     614       * The return status of rtems_task_construct() shall be RTEMS_TOO_MANY.
    617615       */
    618616      T_rsc( ctx->status, RTEMS_TOO_MANY );
     
    645643    case RtemsTaskReqConstructErrors_Post_Name_Valid: {
    646644      /*
    647        * The unique object name shall identify the task constructed by
    648        * the rtems_task_construct() call.
     645       * The unique object name shall identify the task constructed by the
     646       * rtems_task_construct() call.
    649647       */
    650648      id = 0;
     
    677675    case RtemsTaskReqConstructErrors_Post_IdValue_Assigned: {
    678676      /*
    679        * The value of the object identifier variable shall be equal to the object
    680        * identifier of the task constructed by the rtems_task_construct() call.
     677       * The value of the object identifier variable shall be equal to the
     678       * object identifier of the task constructed by the
     679       * rtems_task_construct() call.
    681680       */
    682681      T_eq_ptr( ctx->id, &ctx->id_value );
     
    774773    case RtemsTaskReqConstructErrors_Post_StoFree_No: {
    775774      /*
    776        * The storage free handler of the task configuration shall not be invoked
    777        * during the rtems_task_construct() call.
     775       * The storage free handler of the task configuration shall not be
     776       * invoked during the rtems_task_construct() call.
    778777       */
    779778      T_eq_u32( ctx->storage_free_calls, 0 );
  • testsuites/validation/tc-task-create-errors.c

    r441824a rc0c4b8b  
    357357    case RtemsTaskReqCreateErrors_Pre_SysTsk_Yes: {
    358358      /*
    359        * The ``attribute_set`` parameter shall specify a system
    360        * task.
     359       * The ``attribute_set`` parameter shall specify a system task.
    361360       */
    362361      ctx->attributes = RTEMS_SYSTEM_TASK;
     
    366365    case RtemsTaskReqCreateErrors_Pre_SysTsk_No: {
    367366      /*
    368        * The ``attribute_set`` parameter shall specify an
    369        * application task.
     367       * The ``attribute_set`` parameter shall specify an application task.
    370368       */
    371369      ctx->attributes = RTEMS_DEFAULT_ATTRIBUTES;
     
    448446    case RtemsTaskReqCreateErrors_Pre_Stack_Normal: {
    449447      /*
    450        * The ``initial_priority`` parameter shall be greater than or
    451        * equal to the configured minimum size.
     448       * The ``initial_priority`` parameter shall be greater than or equal to
     449       * the configured minimum size.
    452450       */
    453451      ctx->stack_size = RTEMS_MINIMUM_STACK_SIZE;
     
    457455    case RtemsTaskReqCreateErrors_Pre_Stack_Small: {
    458456      /*
    459        * The ``initial_priority`` parameter shall be less than the
    460        * configured minimum size.
     457       * The ``initial_priority`` parameter shall be less than the configured
     458       * minimum size.
    461459       */
    462460      ctx->stack_size = 0;
     
    466464    case RtemsTaskReqCreateErrors_Pre_Stack_Huge: {
    467465      /*
    468        * The ``initial_priority`` parameter shall be greater than the
    469        * maximum stack size which can be allocated by the system.
     466       * The ``initial_priority`` parameter shall be greater than the maximum
     467       * stack size which can be allocated by the system.
    470468       */
    471469      ctx->stack_size = SIZE_MAX;
     
    513511    case RtemsTaskReqCreateErrors_Post_Status_Ok: {
    514512      /*
    515        * The return status of rtems_task_create() shall be
    516        * RTEMS_SUCCESSFUL.
     513       * The return status of rtems_task_create() shall be RTEMS_SUCCESSFUL.
    517514       */
    518515      T_rsc_success( ctx->status );
     
    531528    case RtemsTaskReqCreateErrors_Post_Status_InvName: {
    532529      /*
    533        * The return status of rtems_task_create() shall be
    534        * RTEMS_INVALID_NAME.
     530       * The return status of rtems_task_create() shall be RTEMS_INVALID_NAME.
    535531       */
    536532      T_rsc( ctx->status, RTEMS_INVALID_NAME );
     
    549545    case RtemsTaskReqCreateErrors_Post_Status_TooMany: {
    550546      /*
    551        * The return status of rtems_task_create() shall be
    552        * RTEMS_TOO_MANY.
     547       * The return status of rtems_task_create() shall be RTEMS_TOO_MANY.
    553548       */
    554549      T_rsc( ctx->status, RTEMS_TOO_MANY );
     
    558553    case RtemsTaskReqCreateErrors_Post_Status_Unsat: {
    559554      /*
    560        * The return status of rtems_task_create() shall be
    561        * RTEMS_UNSATISFIED.
     555       * The return status of rtems_task_create() shall be RTEMS_UNSATISFIED.
    562556       */
    563557      T_rsc( ctx->status, RTEMS_UNSATISFIED  );
     
    581575    case RtemsTaskReqCreateErrors_Post_Name_Valid: {
    582576      /*
    583        * The unique object name shall identify the task created by
    584        * the rtems_task_create() call.
     577       * The unique object name shall identify the task created by the
     578       * rtems_task_create() call.
    585579       */
    586580      id = 0;
     
    613607    case RtemsTaskReqCreateErrors_Post_IdValue_Assigned: {
    614608      /*
    615        * The value of the object identifier variable shall be equal to the object
    616        * identifier of the task created by the rtems_task_create() call.
     609       * The value of the object identifier variable shall be equal to the
     610       * object identifier of the task created by the rtems_task_create() call.
    617611       */
    618612      T_eq_ptr( ctx->id, &ctx->id_value );
Note: See TracChangeset for help on using the changeset viewer.