Changeset f8d39b8d in rtems


Ignore:
Timestamp:
Feb 4, 2008, 7:39:43 PM (12 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.9, master
Children:
ccc4203
Parents:
6d4940d
Message:

2008-02-04 Jennifer Averett <jennifer.averett@…>

  • Makefile.am, configure.ac, psxmsgq01/Makefile.am, psxmsgq01/init.c: Added tests for failure path coverages. Consolidated methods used in multiple places into support routines.
  • psxkey01/Makefile.am, psxkey01/init.c, psxkey01/psxkey01.scn, psxkey01/system.h, psxkey01/task.c, psxmsgq02/Makefile.am, psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn, psxmsgq02/system.h: New files.
Location:
testsuites/psxtests
Files:
9 added
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r6d4940d rf8d39b8d  
     12008-02-04      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        * Makefile.am, configure.ac, psxmsgq01/Makefile.am, psxmsgq01/init.c:
     4        Added tests for failure path coverages. Consolidated methods used in
     5        multiple places into support routines.
     6        * psxkey01/Makefile.am, psxkey01/init.c, psxkey01/psxkey01.scn,
     7        psxkey01/system.h, psxkey01/task.c, psxmsgq02/Makefile.am,
     8        psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn, psxmsgq02/system.h: New files.
     9
    1102008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
    211
  • testsuites/psxtests/Makefile.am

    r6d4940d rf8d39b8d  
    66
    77SUBDIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
    8     psx10 psx11 psx12 psx13 psx14 psxcleanup psxtime psxtimer01 psxtimer02 \
    9     psxcancel psxbarrier01 psxmsgq01 psxrwlock01 psxsem01 psxspin01 \
    10     psxenosys psxsignal01 psxsysconf psxualarm psxfatal01 psxfatal02
     8    psx10 psx11 psx12 psx13 psx14 psxcleanup psxtime psxtimer01 psxtimer02  \
     9    psxcancel psxbarrier01 psxmsgq01 psxmsgq02 psxrwlock01 psxsem01 \
     10    psxspin01 psxenosys psxsignal01 psxsysconf psxualarm psxkey01 \
     11    psxfatal01 psxfatal02
    1112
    1213## File IO tests
  • testsuites/psxtests/configure.ac

    r6d4940d rf8d39b8d  
    5151psxfile01/Makefile
    5252psxhdrs/Makefile
     53psxkey01/Makefile
    5354psxmount/Makefile
    5455psxmsgq01/Makefile
     56psxmsgq02/Makefile
    5557psxreaddir/Makefile
    5658psxrdwrv/Makefile
  • testsuites/psxtests/psxmsgq01/Makefile.am

    r6d4940d rf8d39b8d  
    66
    77rtems_tests_PROGRAMS = psxmsgq01.exe
    8 psxmsgq01_exe_SOURCES = init.c system.h ../include/pmacros.h
     8psxmsgq01_exe_SOURCES = init.c system.h ../include/pmacros.h \
     9     ../../support/src/test_support.c
     10
    911
    1012dist_rtems_tests_DATA = psxmsgq01.scn
  • testsuites/psxtests/psxmsgq01/init.c

    r6d4940d rf8d39b8d  
    1717#include <tmacros.h>
    1818#include <signal.h>   /* signal facilities */
     19#include "test_support.h"
    1920
    2021typedef struct {
     
    101102}
    102103
    103 char Queue_Name[PATH_MAX + 2];
    104104#define Get_Queue_Name( i )  Test_q[i].name
    105 
    106105char *Build_Queue_Name( int i ) {
     106
     107  static char Queue_Name[PATH_MAX + 2];
     108
    107109  sprintf(Queue_Name,"mq%d", i+1 );
    108110  return Queue_Name;
    109111}
    110 
    111 char *Get_Too_Long_Name()
    112 {
    113   int i;
    114 
    115   for ( i=0; i< PATH_MAX+1; i++ )
    116     Queue_Name[i] = 'N';
    117   Queue_Name[i] = '\0';
    118   return Queue_Name;
    119 }
    120 
    121112
    122113void open_test_queues()
Note: See TracChangeset for help on using the changeset viewer.