Changeset 4b374f36 in rtems for testsuites/mptests


Ignore:
Timestamp:
Aug 17, 1995, 7:36:43 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3b438fa
Parents:
556fb911
Message:

maximum number of messages removed and include statement cleanup

Location:
testsuites/mptests
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/mp01/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:00:40 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
     
    2625/* structures */
    2726
    28 #include "gvar.h"
     27#include <gvar.h>
    2928
    3029/* end of include file */
  • testsuites/mptests/mp02/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:01:00 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp03/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:01:22 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp04/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:01:40 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp05/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:02:00 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp06/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:02:18 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019
  • testsuites/mptests/mp07/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:02:38 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019#define EXTERN  extern             /* external definition */
  • testsuites/mptests/mp08/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:02:55 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp09/init.c

    r556fb911 r4b374f36  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:03:11 joel Exp
    2323 */
    2424
     
    5050      Queue_name[ 1 ],
    5151      3,
    52       RTEMS_GLOBAL|RTEMS_LIMIT,
     52      16,
     53      RTEMS_GLOBAL,
    5354      &Queue_id[ 1 ]
    5455    );
  • testsuites/mptests/mp09/node1/mp09.scn

    r556fb911 r4b374f36  
    1111Receiving message ...
    1212Received : ABCDEFGHIJKLMNO
     13Receiver delaying for a second
    1314rtems_message_queue_send: 123456789012345
    1415Delaying for a second
  • testsuites/mptests/mp09/node2/mp09.scn

    r556fb911 r4b374f36  
    1717Receiving message ...
    1818Received : ABCDEFGHIJKLMNO
     19Receiver delaying for a second
    1920Flushing remote empty queue
    20 00 messages were flushed on the remote queue
     210 messages were flushed on the remote queue
    2122Send messages to be flushed from remote queue
    2223Flushing remote queue
    23 01 messages were flushed on the remote queue
     241 messages were flushed on the remote queue
    2425Waiting for message queue to be deleted
    25 
    2626Global message queue deleted
    2727*** END OF TEST 9 ***
  • testsuites/mptests/mp09/recvmsg.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  recvmsg.c,v 1.2 1995/05/31 17:03:14 joel Exp
    1919 */
    2020
     
    2525 rtems_status_code status;
    2626 rtems_unsigned32  index;
     27 rtems_unsigned32  size;
    2728 char              receive_buffer[16];
    2829
     
    3233     Queue_id[ 1 ],
    3334     (long (*)[4])receive_buffer,
     35     &size,
    3436     RTEMS_DEFAULT_OPTIONS,
    3537     RTEMS_NO_TIMEOUT
  • testsuites/mptests/mp09/sendmsg.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  sendmsg.c,v 1.2 1995/05/31 17:03:16 joel Exp
    1919 */
    2020
     
    2929  puts( buffer1 );
    3030
    31   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1 );
     31  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1, 16 );
    3232  directive_failed( status, "rtems_message_queue_send" );
    3333
     
    3838  puts_nocr( "rtems_message_queue_urgent: " );
    3939  puts( buffer2 );
    40   status = rtems_message_queue_urgent( Queue_id[ 1 ], (long (*)[4])buffer2 );
     40  status = rtems_message_queue_urgent( Queue_id[ 1 ], (long (*)[4])buffer2, 16 );
    4141  directive_failed( status, "rtems_message_queue_urgent" );
    4242
     
    5050    Queue_id[ 1 ],
    5151    (long (*)[4])buffer3,
     52    16,
    5253    &broadcast_count
    5354  );
  • testsuites/mptests/mp09/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:03:17 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp09/task1.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task1.c,v 1.2 1995/05/31 17:03:19 joel Exp
    2020 */
    2121
     
    3333  rtems_status_code status;
    3434  rtems_unsigned32  count;
     35  rtems_unsigned32  size;
    3536  char              receive_buffer[16];
    3637
     
    6566    status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
    6667    directive_failed( status, "rtems_message_queue_flush" );
    67     printf( "%02d messages were flushed on the remote queue\n", count );
     68    printf( "%d messages were flushed on the remote queue\n", count );
    6869
    6970    puts( "Send messages to be flushed from remote queue" );
    70     status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1 );
     71    status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1, 16 );
    7172    directive_failed( status, "rtems_message_queue_send" );
    7273
     
    7475    status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
    7576    directive_failed( status, "rtems_message_queue_flush" );
    76     printf( "%02d messages were flushed on the remote queue\n", count );
     77    printf( "%d messages were flushed on the remote queue\n", count );
    7778
    7879    puts( "Waiting for message queue to be deleted" );
     
    8081      Queue_id[ 1 ],
    8182      (long (*)[4])receive_buffer,
     83      &size,
    8284      RTEMS_DEFAULT_OPTIONS,
    8385      RTEMS_NO_TIMEOUT
  • testsuites/mptests/mp10/init.c

    r556fb911 r4b374f36  
    2626 *  notice must appear in all copies of this file and its derivatives.
    2727 *
    28  *  $Id$
     28 *  init.c,v 1.2 1995/05/31 17:03:33 joel Exp
    2929 */
    3030
     
    5959      Queue_name[ 1 ],
    6060      3,
    61       RTEMS_GLOBAL|RTEMS_LIMIT,
     61      16,
     62      RTEMS_GLOBAL,
    6263      &Queue_id[ 1 ]
    6364    );
  • testsuites/mptests/mp10/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:03:35 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp10/task1.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task1.c,v 1.2 1995/05/31 17:03:37 joel Exp
    2020 */
    2121
     
    2727{
    2828  char              receive_buffer[16];
     29  rtems_unsigned32  size;
    2930  rtems_status_code status;
    3031
     
    4344    Queue_id[ 1 ],
    4445    (long (*)[4])receive_buffer,
     46    &size,
    4547    RTEMS_DEFAULT_OPTIONS,
    4648    RTEMS_NO_TIMEOUT
  • testsuites/mptests/mp11/init.c

    r556fb911 r4b374f36  
    2323 *  notice must appear in all copies of this file and its derivatives.
    2424 *
    25  *  $Id$
     25 *  init.c,v 1.2 1995/05/31 17:03:55 joel Exp
    2626 */
    2727
     
    7070      Queue_name[ 1 ],
    7171      3,
    72       RTEMS_GLOBAL|RTEMS_LIMIT,
     72      16,
     73      RTEMS_GLOBAL,
    7374      &junk_id
    7475    );
  • testsuites/mptests/mp11/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:03:57 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp12/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:04:13 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp13/init.c

    r556fb911 r4b374f36  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:04:29 joel Exp
    2323 */
    2424
     
    5252      Queue_name[ 1 ],
    5353      3,
    54       RTEMS_GLOBAL|RTEMS_LIMIT,
     54      16,
     55      RTEMS_GLOBAL,
    5556      &Queue_id[ 1 ]
    5657    );
  • testsuites/mptests/mp13/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:04:31 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp13/task1.c

    r556fb911 r4b374f36  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  $Id$
     20 *  task1.c,v 1.2 1995/05/31 17:04:33 joel Exp
    2121 */
    2222
     
    2828{
    2929  char              receive_buffer[16];
     30  rtems_unsigned32  size;
    3031  rtems_status_code status;
    3132
     
    4546      Queue_id[ 1 ],
    4647      (long (*)[4])receive_buffer,
     48      &size,
    4749      RTEMS_DEFAULT_OPTIONS,
    4850      RTEMS_NO_TIMEOUT
     
    5961    Queue_id[ 1 ],
    6062    (long (*)[4])receive_buffer,
     63    &size,
    6164    RTEMS_DEFAULT_OPTIONS,
    6265    2 * TICKS_PER_SECOND
  • testsuites/mptests/mp14/init.c

    r556fb911 r4b374f36  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:04:55 joel Exp
    2323 */
    2424
     
    103103      Queue_name[ 1 ],
    104104      1,
     105      16,
    105106      RTEMS_GLOBAL,
    106107      &Queue_id[ 1 ]
  • testsuites/mptests/mp14/msgtask1.c

    r556fb911 r4b374f36  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  $Id$
     21 *  msgtask1.c,v 1.2 1995/05/31 17:04:58 joel Exp
    2222 */
    2323
     
    3333  rtems_unsigned32  *buffer_count;
    3434  rtems_unsigned32  *overflow_count;
     35  rtems_unsigned32   size;
    3536
    3637  Msg_buffer[ index ][0] = 0;
     
    5455      status = rtems_message_queue_send(
    5556        Queue_id[ 1 ],
    56         (long (*)[4])Msg_buffer[ index ]
     57        (long (*)[4])Msg_buffer[ index ],
     58        16
    5759      );
    5860      directive_failed( status, "rtems_message_queue_send" );
     
    7173        Queue_id[ 1 ],
    7274        (long (*)[4])Msg_buffer[ index ],
     75        &size,
    7376        RTEMS_DEFAULT_OPTIONS,
    7477        RTEMS_NO_TIMEOUT
     
    8487      status = rtems_message_queue_send(
    8588        Queue_id[ 1 ],
    86         (long (*)[4])Msg_buffer[ index ]
     89        (long (*)[4])Msg_buffer[ index ],
     90        16
    8791      );
    8892      directive_failed( status, "rtems_message_queue_send" );
  • testsuites/mptests/mp14/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:05:03 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
    19 #include "mpci.h"
     17#include <tmacros.h>
     18#include <mpci.h>
    2019
    2120/* Miscellaneous */
Note: See TracChangeset for help on using the changeset viewer.