Changeset f94344f in rtems


Ignore:
Timestamp:
Jun 8, 2010, 1:59:17 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, master
Children:
dd4df85
Parents:
f08aee31
Message:

2010-06-08 Jennifer Averett <Jennifer.Averett@…>

  • spfifo01/Makefile.am, spfifo02/Makefile.am, spfifo03/Makefile.am, spfifo04/Makefile.am: Merged fifo main and test files into the standard init file. Fixed copyright information.
  • spfifo01/init.c, spfifo02/init.c, spfifo03/init.c, spfifo04/init.c: New files.
  • spfifo01/main.c, spfifo01/test.c, spfifo02/main.c, spfifo02/test.c, spfifo03/main.c, spfifo03/test.c, spfifo04/main.c, spfifo04/test.c: Removed.
Location:
testsuites/sptests
Files:
4 deleted
4 edited
4 moved

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spfifo01/Makefile.am

    rf08aee31 rf94344f  
    66
    77rtems_tests_PROGRAMS = spfifo01
    8 spfifo01_SOURCES = main.c test.c
     8spfifo01_SOURCES = init.c
    99
    1010dist_rtems_tests_DATA = spfifo01.scn
  • testsuites/sptests/spfifo01/init.c

    rf08aee31 rf94344f  
    1 /*  test_main
    2  *
    3  *  This routine serves as a test routine.
    4  *  Exercises the fifo_open
    5  *
    6  *  Input parameters:   NONE
    7  *
    8  *  Output parameters:  NONE
    9  *
    10  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2010.
    113 *  On-Line Applications Research Corporation (OAR).
    124 *
     
    1911
    2012/* Includes */
    21 
     13#include <bsp.h>
     14#include <tmacros.h>
    2215#include <stdio.h>
    2316#include <sys/types.h>
     
    2720#include <errno.h>
    2821
    29 #include <tmacros.h>
    3022#include <rtems.h>
    3123#include <rtems/libio.h>
     
    7264}
    7365 
     66
     67rtems_task Init(
     68  rtems_task_argument not_used
     69)
     70{
     71  test_main();
     72  rtems_test_exit(0);
     73}
     74
     75#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     76#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     77
     78#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     79#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     80
     81#define CONFIGURE_MAXIMUM_TASKS 1
     82
     83#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     84
     85#define CONFIGURE_INIT
     86
     87#include <rtems/confdefs.h>
     88
     89/* end of file */
  • testsuites/sptests/spfifo02/Makefile.am

    rf08aee31 rf94344f  
    66
    77rtems_tests_PROGRAMS = spfifo02
    8 spfifo02_SOURCES = main.c test.c
     8spfifo02_SOURCES = init.c
    99
    1010dist_rtems_tests_DATA = spfifo02.scn
  • testsuites/sptests/spfifo02/init.c

    rf08aee31 rf94344f  
    1 /*  test_main
    2  *
    3  *  This routine serves as a test routine.
    4  *  Exercises the fifo_open
    5  *
    6  *  Input parameters:   NONE
    7  *
    8  *  Output parameters:  NONE
    9  *
    10  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2010.
    113 *  On-Line Applications Research Corporation (OAR).
    124 *
     
    1911
    2012/* Includes */
     13#include <bsp.h>
     14#include <tmacros.h>
    2115
     16/* Includes */
    2217#include <stdio.h>
    2318#include <sys/types.h>
     
    2722#include <errno.h>
    2823
    29 #include <tmacros.h>
    3024#include <rtems.h>
    3125#include <rtems/libio.h>
     
    7468}
    7569 
     70rtems_task Init(
     71  rtems_task_argument not_used
     72)
     73{
     74  test_main();
     75  rtems_test_exit(0);
     76}
     77
     78#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     79#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     80
     81#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     82#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     83
     84#define CONFIGURE_MAXIMUM_TASKS 1
     85
     86#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     87#define CONFIGURE_PIPES_ENABLED
     88#define CONFIGURE_INIT
     89
     90#include <rtems/confdefs.h>
     91
     92/* end of file */
  • testsuites/sptests/spfifo03/Makefile.am

    rf08aee31 rf94344f  
    66
    77rtems_tests_PROGRAMS = spfifo03
    8 spfifo03_SOURCES = main.c test.c
     8spfifo03_SOURCES = init.c
    99
    1010dist_rtems_tests_DATA = spfifo03.scn
  • testsuites/sptests/spfifo03/init.c

    rf08aee31 rf94344f  
    1 /*  test_main
    2  *
    3  *  This routine serves as a test routine.
    4  *  Exercises the fifo_open
    5  *
    6  *  Input parameters:   NONE
    7  *
    8  *  Output parameters:  NONE
    9  *
    10  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2010.
    113 *  On-Line Applications Research Corporation (OAR).
    124 *
     
    1911
    2012/* Includes */
    21 
     13#include <bsp.h>
     14#include <tmacros.h>
    2215#include <stdio.h>
    2316#include <sys/types.h>
     
    2720#include <errno.h>
    2821
    29 #include <tmacros.h>
    3022#include <rtems.h>
    3123#include <rtems/libio.h>
     
    7466  puts("\n\n*** END OF FIFO / PIPE OPEN TEST - 3 ***");
    7567}
    76  
     68
     69rtems_task Init(
     70  rtems_task_argument not_used
     71)
     72{
     73  test_main();
     74  rtems_test_exit(0);
     75}
     76
     77#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     78#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     79
     80#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     81#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     82
     83#define CONFIGURE_MAXIMUM_TASKS 1
     84
     85#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     86#define CONFIGURE_PIPES_ENABLED
     87#define CONFIGURE_INIT
     88#define CONFIGURE_MAXIMUM_BARRIERS               1
     89
     90#include <rtems/confdefs.h>
     91
     92/* end of file */
  • testsuites/sptests/spfifo04/Makefile.am

    rf08aee31 rf94344f  
    66
    77rtems_tests_PROGRAMS = spfifo04
    8 spfifo04_SOURCES = main.c test.c
     8spfifo04_SOURCES = init.c
    99
    1010dist_rtems_tests_DATA = spfifo04.scn
  • testsuites/sptests/spfifo04/init.c

    rf08aee31 rf94344f  
    1 /*  test_main
    2  *
    3  *  This routine serves as a test routine.
    4  *  Exercises the fifo_open
    5  *
    6  *  Input parameters:   NONE
    7  *
    8  *  Output parameters:  NONE
    9  *
    10  *  COPYRIGHT (c) 1989-1999.
     1/*
     2 *  COPYRIGHT (c) 1989-2010.
    113 *  On-Line Applications Research Corporation (OAR).
    124 *
     
    1911
    2012/* Includes */
    21 
     13#include <bsp.h>
     14#include <tmacros.h>
    2215#include <stdio.h>
    2316#include <sys/types.h>
     
    2720#include <errno.h>
    2821
    29 #include <tmacros.h>
    3022#include <rtems.h>
    3123#include <rtems/libio.h>
     
    116108}
    117109
     110rtems_task Init(
     111  rtems_task_argument not_used
     112)
     113{
     114  test_main();
     115  rtems_test_exit(0);
     116}
     117
     118#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     119#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     120
     121#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     122#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     123
     124#define CONFIGURE_MAXIMUM_TASKS 1
     125
     126#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     127#define CONFIGURE_PIPES_ENABLED
     128#define CONFIGURE_INIT
     129#define CONFIGURE_MAXIMUM_BARRIERS               2
     130
     131#include <rtems/confdefs.h>
     132
     133/* end of file */
Note: See TracChangeset for help on using the changeset viewer.