Changeset a5b04da in rtems


Ignore:
Timestamp:
Sep 14, 2009, 8:05:44 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
d5ef0836
Parents:
ab2422c
Message:

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

  • Makefile.am, configure.ac, sp65/init.c: Add new test to exercise very simple priority ceiling case that was previously only tested via the POSIX API.
  • sp66/.cvsignore, sp66/Makefile.am, sp66/init.c, sp66/sp66.doc, sp66/sp66.scn: New files.
Location:
testsuites/sptests
Files:
5 added
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rab2422c ra5b04da  
     12009-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am, configure.ac, sp65/init.c: Add new test to exercise very
     4        simple priority ceiling case that was previously only tested via the
     5        POSIX API.
     6        * sp66/.cvsignore, sp66/Makefile.am, sp66/init.c, sp66/sp66.doc,
     7        sp66/sp66.scn: New files.
     8
    192009-09-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    210
  • testsuites/sptests/Makefile.am

    rab2422c ra5b04da  
    1414    sp40 sp41 sp42 sp43 sp44 sp45 sp46 sp47 sp48 sp49 \
    1515    sp50 sp51 sp52 sp53 sp54 sp55 sp56 sp57 sp58 sp59 \
    16     sp60 sp61 sp62 sp63 sp64 sp65 \
     16    sp60 sp61 sp62 sp63 sp64 sp65 sp66 \
    1717    spchain spclockget spcoverage spobjgetnext spprintk spsize \
    1818    spstkalloc spthreadq01 spwatchdog spwkspace \
  • testsuites/sptests/configure.ac

    rab2422c ra5b04da  
    2323
    2424RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     25
     26RTEMS_ENABLE_COVERAGE
     27AM_CONDITIONAL([HAS_COVERAGE],[test $RTEMS_HAS_COVERAGE = "yes"])
    2528
    2629# Explicitly list all Makefiles here
     
    9295sp64/Makefile
    9396sp65/Makefile
     97sp66/Makefile
    9498spchain/Makefile
    9599spclockget/Makefile
  • testsuites/sptests/sp65/init.c

    rab2422c ra5b04da  
    1212#include <tmacros.h>
    1313
     14#if defined(INHERIT_CEILING)
     15  #define TEST_NAME                "66"
     16  #define TASK_PRIORITY            2
     17#else
     18  #define TEST_NAME                "65"
     19  #define TASK_PRIORITY            1
     20#endif
     21
    1422rtems_task Task_1(
    1523  rtems_task_argument arg
     
    2331  rtems_id             Mutex_id, Task_id;
    2432 
    25   puts( "\n\n*** TEST 65 ***" );
     33  puts( "\n\n*** TEST " TEST_NAME " ***" );
    2634
    2735  /*
     
    4654  puts( "Calling rtems_task_create" );
    4755  status = rtems_task_create( rtems_build_name( 'T', 'A', 'S', '1' ),
    48   1,
    49   RTEMS_MINIMUM_STACK_SIZE,
    50   RTEMS_DEFAULT_MODES,
    51   RTEMS_DEFAULT_ATTRIBUTES,
    52   &Task_id
     56    TASK_PRIORITY,
     57    RTEMS_MINIMUM_STACK_SIZE,
     58    RTEMS_DEFAULT_MODES,
     59    RTEMS_DEFAULT_ATTRIBUTES,
     60    &Task_id
    5361  );
    5462  directive_failed( status, "rtems_task_create" );
     
    9098#define CONFIGURE_MAXIMUM_TASKS         2
    9199#define CONFIGURE_MAXIMUM_SEMAPHORES    1
     100#define CONFIGURE_INIT_TASK_PRIORITY    TASK_PRIORITY
    92101#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    93102
Note: See TracChangeset for help on using the changeset viewer.