Changeset 07f4edc1 in rtems


Ignore:
Timestamp:
Dec 11, 2013, 11:10:34 PM (6 years ago)
Author:
Daniel Ramirez <javamonn@…>
Branches:
4.11, master
Children:
73184499
Parents:
bde2237
git-author:
Daniel Ramirez <javamonn@…> (12/11/13 23:10:34)
git-committer:
Gedare Bloom <gedare@…> (12/12/13 01:11:08)
Message:

sptests: refactored sp09/screen14.c into two new tests

Location:
testsuites/sptests
Files:
8 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/Makefile.am

    rbde2237 r07f4edc1  
    3838SUBDIRS += spinternalerror01
    3939SUBDIRS += spinternalerror02
     40SUBDIRS += sptimer_err01 sptimer_err02
    4041
    4142include $(top_srcdir)/../automake/subdirs.am
  • testsuites/sptests/configure.ac

    rbde2237 r07f4edc1  
    198198spwatchdog/Makefile
    199199spwkspace/Makefile
     200sptimer_err01/Makefile
     201sptimer_err02/Makefile
    200202])
    201203AC_OUTPUT
  • testsuites/sptests/sp09/Makefile.am

    rbde2237 r07f4edc1  
    33sp09_SOURCES = init.c delay.c isr.c screen01.c screen02.c screen03.c screen04.c \
    44    screen05.c screen06.c screen07.c screen08.c screen09.c screen10.c \
    5     screen11.c screen12.c screen13.c screen14.c task1.c task2.c task3.c \
    6     task4.c system.h
     5    screen11.c screen12.c screen13.c task1.c task2.c task3.c task4.c \
     6    system.h
    77
    88dist_rtems_tests_DATA = sp09.scn
  • testsuites/sptests/sp09/init.c

    rbde2237 r07f4edc1  
    3333  Task_name[ 9 ]       =  rtems_build_name( 'T', 'A', '9', ' ' );
    3434  Task_name[ 10 ]      =  rtems_build_name( 'T', 'A', 'A', ' ' );
    35 
    36   Timer_name[ 1 ]      =  rtems_build_name( 'T', 'M', '1', ' ' );
    3735
    3836  Semaphore_name[ 1 ]  =  rtems_build_name( 'S', 'M', '1', ' ' );
  • testsuites/sptests/sp09/sp09.scn

    rbde2237 r07f4edc1  
    296296TA1 - rtems_clock_set - 23:59:59   12/31/1991 - RTEMS_SUCCESSFUL
    297297TA1 - rtems_clock_get_tod - 00:00:00   01/01/1992 - RTEMS_SUCCESSFUL
    298 <pause - screen 14>
    299 TA1 - rtems_timer_create - RTEMS_INVALID_ADDRESS
    300 TA1 - rtems_timer_create - RTEMS_INVALID_NAME
    301 TA1 - rtems_timer_create - 1 - RTEMS_SUCCESSFUL
    302 TA1 - rtems_timer_create - 2 - RTEMS_TOO_MANY
    303 TA1 - rtems_timer_delete - local RTEMS_INVALID_ID
    304 TA1 - rtems_timer_delete - global RTEMS_INVALID_ID
    305 TA1 - rtems_timer_ident - RTEMS_INVALID_NAME
    306 TA1 - rtems_timer_cancel - RTEMS_INVALID_ID
    307 TA1 - rtems_timer_reset - RTEMS_INVALID_ID
    308 TA1 - rtems_timer_reset - RTEMS_NOT_DEFINED
    309 TA1 - rtems_timer_fire_after - RTEMS_INVALID_ID
    310 TA1 - rtems_timer_fire_when - RTEMS_INVALID_ID
    311 TA1 - rtems_timer_fire_after - RTEMS_INVALID_ADDRESS
    312 TA1 - rtems_timer_fire_after - RTEMS_INVALID_NUMBER
    313 TA1 - rtems_timer_fire_when - RTEMS_INVALID_ADDRESS
    314 TA1 - rtems_timer_fire_when - 08:30:45   02/05/1987 - RTEMS_INVALID_CLOCK
    315 TA1 - rtems_clock_get_tod       - 00:00:00   01/01/1992
    316 TA1 - rtems_timer_fire_when - 08:30:45   02/05/1990 - before RTEMS_INVALID_CLOCK
    317 TA1 - rtems_timer_get_information - RTEMS_INVALID_ADDRESS
    318 TA1 - rtems_timer_get_information - RTEMS_INVALID_ID
    319 TA1 - rtems_timer_server_fire_after - RTEMS_INCORRECT_STATE
    320 TA1 - rtems_timer_server_fire_when - RTEMS_INCORRECT_STATE
    321 TA1 - rtems_timer_initiate_server - RTEMS_INVALID_PRIORITY
    322 TA1 - rtems_timer_initiate_server - RTEMS_UNSATISFIED
    323 TA1 - rtems_timer_initiate_server - SUCCESSFUL
    324 TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_ADDRESS
    325 TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_ID
    326 TA1 - rtems_timer_server_fire_when - RTEMS_INVALID_ID
    327 TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_ADDRESS
    328 TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_NUMBER
    329 TA1 - rtems_timer_server_fire_when - 08:30:45   02/05/1987 - RTEMS_INVALID_CLOCK
    330 TA1 - rtems_clock_get_tod       - 00:00:00   01/01/1992
    331 TA1 - rtems_timer_server_fire_when - RTEMS_INVALID_ADDRESS
    332 TA1 - rtems_timer_server_fire_when - 08:30:45   02/05/1990 - before RTEMS_INVALID_CLOCK
    333298*** END OF TEST 9 ***
  • testsuites/sptests/sp09/system.h

    rbde2237 r07f4edc1  
    7575void Screen13( void );
    7676
    77 void Screen14( void );
    78 
    7977/* configuration information */
    8078
     
    102100TEST_EXTERN rtems_id   Task_id[ 11 ];       /* array of task ids */
    103101TEST_EXTERN rtems_name Task_name[ 11 ];     /* array of task names */
    104 
    105 TEST_EXTERN rtems_name Timer_name[ 2 ];     /* array of timer names */
    106 TEST_EXTERN rtems_id   Timer_id[ 2 ];       /* array of timer ids */
    107102
    108103TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */
  • testsuites/sptests/sp09/task1.c

    rbde2237 r07f4edc1  
    6363
    6464  Screen13();
    65   rtems_test_pause_and_screen_number( 14 );
    66 
    67   Screen14();
    6865
    6966  puts( "*** END OF TEST 9 ***" );
Note: See TracChangeset for help on using the changeset viewer.