Changeset 012bb56 in rtems


Ignore:
Timestamp:
Dec 3, 1998, 9:57:50 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
146263fd
Parents:
6b9450d
Message:

Insure that the same output occurs when multiprocessing is disabled.

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/sp09/screen01.c

    r6b9450d r012bb56  
    7575  puts( "TA1 - rtems_task_ident - local RTEMS_INVALID_NAME" );
    7676
     77  /*
     78   *  This one case is different if MP is enabled/disabled.
     79   */
     80
    7781  status = rtems_task_ident( 100, 2, &Junk_id );
     82#if defined(RTEMS_MULTIPROCESSING)
    7883  fatal_directive_status(
    7984    status,
     
    8186    "rtems_task_ident with illegal node"
    8287  );
     88#else
     89  fatal_directive_status(
     90    status,
     91    RTEMS_INVALID_NAME,
     92    "rtems_task_ident with illegal node"
     93  );
     94#endif
    8395  puts( "TA1 - rtems_task_ident - RTEMS_INVALID_NODE" );
    8496
  • c/src/tests/sptests/sp09/screen03.c

    r6b9450d r012bb56  
    201201  puts( "TA1 - rtems_task_create - 11 - RTEMS_TOO_MANY" );
    202202
     203  /*
     204   *  The check for an object being global is only made if
     205   *  multiprocessing is enabled.
     206   */
     207
     208#if defined(RTEMS_MULTIPROCESSING)
    203209  status = rtems_task_create(
    204210    task_name,
     
    214220    "rtems_task_create of global task in a single cpu system"
    215221  );
     222#endif
    216223  puts( "TA1 - rtems_task_create - RTEMS_MP_NOT_CONFIGURED" );
    217224}
  • c/src/tests/sptests/sp09/screen05.c

    r6b9450d r012bb56  
    117117  puts( "TA1 - rtems_semaphore_create - RTEMS_INVALID_NUMBER" );
    118118
     119  /*
     120   *  The check for an object being global is only made if
     121   *  multiprocessing is enabled.
     122   */
     123
     124#if defined(RTEMS_MULTIPROCESSING)
    119125  status = rtems_semaphore_create(
    120126    Semaphore_name[ 3 ],
     
    129135    "rtems_semaphore_create of mp not configured"
    130136  );
     137#endif
    131138  puts( "TA1 - rtems_semaphore_create - RTEMS_MP_NOT_CONFIGURED" );
    132139
  • c/src/tests/sptests/sp09/screen07.c

    r6b9450d r012bb56  
    4747    "rtems_message_queue_create with illegal name"
    4848  );
    49 
    5049  puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_INVALID_NAME" );
     50
     51  /*
     52   *  The check for an object being global is only made if
     53   *  multiprocessing is enabled.
     54   */
     55
     56#if defined(RTEMS_MULTIPROCESSING)
    5157  status = rtems_message_queue_create(
    5258    Queue_name[ 1 ],
     
    6167    "rtems_message_queue_create of mp not configured"
    6268  );
     69#endif
    6370  puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_MP_NOT_CONFIGURED" );
    6471
  • c/src/tests/sptests/sp09/screen11.c

    r6b9450d r012bb56  
    8989  );
    9090
     91  /*
     92   *  The check for an object being global is only made if
     93   *  multiprocessing is enabled.
     94   */
     95
     96#if defined(RTEMS_MULTIPROCESSING)
    9197  status = rtems_partition_create(
    9298    Partition_name[ 1 ],
     
    102108    "rtems_partition_create of global"
    103109  );
     110#endif
    104111  puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
    105112
  • testsuites/sptests/sp09/screen01.c

    r6b9450d r012bb56  
    7575  puts( "TA1 - rtems_task_ident - local RTEMS_INVALID_NAME" );
    7676
     77  /*
     78   *  This one case is different if MP is enabled/disabled.
     79   */
     80
    7781  status = rtems_task_ident( 100, 2, &Junk_id );
     82#if defined(RTEMS_MULTIPROCESSING)
    7883  fatal_directive_status(
    7984    status,
     
    8186    "rtems_task_ident with illegal node"
    8287  );
     88#else
     89  fatal_directive_status(
     90    status,
     91    RTEMS_INVALID_NAME,
     92    "rtems_task_ident with illegal node"
     93  );
     94#endif
    8395  puts( "TA1 - rtems_task_ident - RTEMS_INVALID_NODE" );
    8496
  • testsuites/sptests/sp09/screen03.c

    r6b9450d r012bb56  
    201201  puts( "TA1 - rtems_task_create - 11 - RTEMS_TOO_MANY" );
    202202
     203  /*
     204   *  The check for an object being global is only made if
     205   *  multiprocessing is enabled.
     206   */
     207
     208#if defined(RTEMS_MULTIPROCESSING)
    203209  status = rtems_task_create(
    204210    task_name,
     
    214220    "rtems_task_create of global task in a single cpu system"
    215221  );
     222#endif
    216223  puts( "TA1 - rtems_task_create - RTEMS_MP_NOT_CONFIGURED" );
    217224}
  • testsuites/sptests/sp09/screen05.c

    r6b9450d r012bb56  
    117117  puts( "TA1 - rtems_semaphore_create - RTEMS_INVALID_NUMBER" );
    118118
     119  /*
     120   *  The check for an object being global is only made if
     121   *  multiprocessing is enabled.
     122   */
     123
     124#if defined(RTEMS_MULTIPROCESSING)
    119125  status = rtems_semaphore_create(
    120126    Semaphore_name[ 3 ],
     
    129135    "rtems_semaphore_create of mp not configured"
    130136  );
     137#endif
    131138  puts( "TA1 - rtems_semaphore_create - RTEMS_MP_NOT_CONFIGURED" );
    132139
  • testsuites/sptests/sp09/screen07.c

    r6b9450d r012bb56  
    4747    "rtems_message_queue_create with illegal name"
    4848  );
    49 
    5049  puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_INVALID_NAME" );
     50
     51  /*
     52   *  The check for an object being global is only made if
     53   *  multiprocessing is enabled.
     54   */
     55
     56#if defined(RTEMS_MULTIPROCESSING)
    5157  status = rtems_message_queue_create(
    5258    Queue_name[ 1 ],
     
    6167    "rtems_message_queue_create of mp not configured"
    6268  );
     69#endif
    6370  puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_MP_NOT_CONFIGURED" );
    6471
  • testsuites/sptests/sp09/screen11.c

    r6b9450d r012bb56  
    8989  );
    9090
     91  /*
     92   *  The check for an object being global is only made if
     93   *  multiprocessing is enabled.
     94   */
     95
     96#if defined(RTEMS_MULTIPROCESSING)
    9197  status = rtems_partition_create(
    9298    Partition_name[ 1 ],
     
    102108    "rtems_partition_create of global"
    103109  );
     110#endif
    104111  puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
    105112
Note: See TracChangeset for help on using the changeset viewer.