Changeset 02ba7ca in rtems


Ignore:
Timestamp:
May 14, 2009, 2:29:40 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
d4b75d2
Parents:
4f7b4a8
Message:

2009-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, spwatchdog/system.h, spwkspace/Makefile.am, spwkspace/init.c: Add shell of test for printk. These will help coverage. Simplify spwkspace.
  • spprintk/.cvsignore, spprintk/Makefile.am, spprintk/init.c, spprintk/spprintk.scn: New files.
  • spwkspace/system.h: Removed.
Location:
testsuites/sptests
Files:
3 added
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r4f7b4a8 r02ba7ca  
     12009-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am, configure.ac, spwatchdog/system.h,
     4        spwkspace/Makefile.am, spwkspace/init.c: Add shell of test for
     5        printk. These will help coverage. Simplify spwkspace.
     6        * spprintk/.cvsignore, spprintk/Makefile.am, spprintk/init.c,
     7        spprintk/spprintk.scn: New files.
     8        * spwkspace/system.h: Removed.
     9
    1102009-05-13      Joel Sherrill <joel.sherrill@OARcorp.com>
    211
  • testsuites/sptests/Makefile.am

    r4f7b4a8 r02ba7ca  
    1111    sp45 sp46 sp47 sp48 spsize spwatchdog spfatal01 spfatal02 spfatal03 \
    1212    spfatal04 spfatal05 spfatal06 spfatal07 spfatal08 spfatal09 spobjgetnext \
    13     spwkspace
     13    spprintk spwkspace
    1414 
    1515DIST_SUBDIRS = $(SUBDIRS) spfatal spfatal_support
  • testsuites/sptests/configure.ac

    r4f7b4a8 r02ba7ca  
    8787spfatal09/Makefile
    8888spobjgetnext/Makefile
     89spprintk/Makefile
    8990spwkspace/Makefile
    9091])
  • testsuites/sptests/spprintk/init.c

    r4f7b4a8 r02ba7ca  
    11/*
     2 *  Exercise Printk
     3 *
    24 *  COPYRIGHT (c) 1989-2009.
    35 *  On-Line Applications Research Corporation (OAR).
     
    1214#include <tmacros.h>
    1315
    14 /* functions */
    15 
    1616rtems_task Init(
    1717  rtems_task_argument argument
    18 );
     18)
     19{
     20  void                   *p1;
     21  bool                    retbool;
     22  Heap_Information_block  info;
     23
     24  puts( "\n\n*** TEST PRINTK ***" );
     25
     26  printk( "bad format -- %%q in parentheses (%q)\n" );
     27
     28  printk( "bad format -- %%lq in parentheses (%lq)\n" );
     29
     30  puts( "*** END OF TEST PRINTK ***" );
     31  rtems_test_exit( 0 );
     32}
    1933
    2034/* configuration information */
    2135
    22 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2336#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
     37
     38#define CONFIGURE_MAXIMUM_TASKS           1
    2439
    2540#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    2641
    27 #define CONFIGURE_MAXIMUM_TASKS             1
     42#define CONFIGURE_INIT
    2843
    2944#include <rtems/confdefs.h>
    3045
    31 /* end of include file */
  • testsuites/sptests/spwatchdog/system.h

    r4f7b4a8 r02ba7ca  
    44 *  function in the test set.
    55 *
    6  *  COPYRIGHT (c) 22.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
  • testsuites/sptests/spwkspace/Makefile.am

    r4f7b4a8 r02ba7ca  
    66
    77rtems_tests_PROGRAMS = spwkspace
    8 spwkspace_SOURCES = init.c system.h
     8spwkspace_SOURCES = init.c
    99
    1010dist_rtems_tests_DATA = spwkspace.scn
  • testsuites/sptests/spwkspace/init.c

    r4f7b4a8 r02ba7ca  
    11/*
    2  *  Exercise SuperCore Object Get Next
     2 *  Exercise Classic API Workspace Wrappers
    33 *
    44 *  COPYRIGHT (c) 1989-2009.
     
    1212 */
    1313
    14 #define CONFIGURE_INIT
    15 #include "system.h"
     14#include <tmacros.h>
     15
    1616
    1717rtems_task Init(
     
    5858  assert( retbool == true );
    5959
    60 
    6160  puts( "*** END OF TEST WORKSPACE CLASSIC API ***" );
    6261  rtems_test_exit( 0 );
    6362}
     63
     64/* configuration information */
     65
     66#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     67#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
     68
     69#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     70
     71#define CONFIGURE_MAXIMUM_TASKS             1
     72
     73#define CONFIGURE_INIT
     74#include <rtems/confdefs.h>
Note: See TracChangeset for help on using the changeset viewer.