Changeset f6c9334d in rtems for testsuites/ada/mptests


Ignore:
Timestamp:
Dec 1, 2017, 7:51:17 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a01e169
Parents:
6899a8d
git-author:
Sebastian Huber <sebastian.huber@…> (12/01/17 07:51:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/01/17 08:52:41)
Message:

ada: Add standard test begin/end message

Location:
testsuites/ada/mptests
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • testsuites/ada/mptests/mp01/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 1"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp01/mptest.adb

    r6899a8d rf6c9334d  
    4242
    4343      TEXT_IO.NEW_LINE( 2 );
    44       TEXT_IO.PUT( "*** TEST 1 -- NODE " );
     44      TEST_SUPPORT.ADA_TEST_BEGIN;
     45      TEXT_IO.PUT( "*** NODE " );
    4546      UNSIGNED32_IO.PUT(
    4647         TEST_SUPPORT.NODE,
     
    222223      end if;
    223224
    224       TEXT_IO.PUT_LINE( "*** END OF TEST 1 ***" );
     225      TEST_SUPPORT.ADA_TEST_END;
    225226
    226227      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp03/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 3"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp03/mptest.adb

    r6899a8d rf6c9334d  
    3737
    3838      TEXT_IO.NEW_LINE( 2 );
    39       TEXT_IO.PUT( "*** TEST 3 -- NODE " );
     39      TEST_SUPPORT.ADA_TEST_BEGIN;
     40      TEXT_IO.PUT( "*** NODE " );
    4041      UNSIGNED32_IO.PUT(
    4142         TEST_SUPPORT.NODE,
     
    168169      MPTEST.TEST_TASK_SUPPORT( 2 );
    169170
    170       TEXT_IO.PUT_LINE( "*** END OF TEST 3 ***" );
     171      TEST_SUPPORT.ADA_TEST_END;
    171172
    172173      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp04/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 4"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp04/mptest.adb

    r6899a8d rf6c9334d  
    3939
    4040      TEXT_IO.NEW_LINE( 2 );
    41       TEXT_IO.PUT( "*** TEST 4 -- NODE " );
     41      TEST_SUPPORT.ADA_TEST_BEGIN;
     42      TEXT_IO.PUT( "*** NODE " );
    4243      UNSIGNED32_IO.PUT(
    4344         TEST_SUPPORT.NODE,
     
    155156      TEXT_IO.PUT_LINE( "Local task priority has been set" );
    156157
    157       TEXT_IO.PUT_LINE( "*** END OF TEST 4 ***" );
     158      TEST_SUPPORT.ADA_TEST_END;
    158159
    159160      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp05/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 5"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp05/mptest.adb

    r6899a8d rf6c9334d  
    4242
    4343      TEXT_IO.NEW_LINE( 2 );
    44       TEXT_IO.PUT( "*** TEST 5 -- NODE " );
     44      TEST_SUPPORT.ADA_TEST_BEGIN;
     45      TEXT_IO.PUT( "*** NODE " );
    4546      UNSIGNED32_IO.PUT(
    4647         TEST_SUPPORT.NODE,
     
    239240
    240241      TEXT_IO.NEW_LINE;
    241       TEXT_IO.PUT_LINE( "*** END OF TEST 5 ***" );
     242      TEST_SUPPORT.ADA_TEST_END;
    242243
    243244      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp06/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 6"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp06/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 6 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    244245      end if;
    245246
    246       TEXT_IO.PUT_LINE( "*** END OF TEST 6 ***" );
     247      TEST_SUPPORT.ADA_TEST_END;
    247248
    248249      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp07/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 7"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp07/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 7 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    196197      TEXT_IO.NEW_LINE;
    197198
    198       TEXT_IO.PUT_LINE( "*** END OF TEST 7 ***" );
     199      TEST_SUPPORT.ADA_TEST_END;
    199200
    200201      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp08/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 8"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp08/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 8 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    164165            TEXT_IO.PUT_LINE( "Global semaphore deleted" );
    165166
    166             TEXT_IO.PUT_LINE( "*** END OF TEST 8 ***" );
     167            TEST_SUPPORT.ADA_TEST_END;
    167168
    168169            RTEMS.SHUTDOWN_EXECUTIVE( 0 );
     
    185186            TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "SEMAPHORE_DELETE" );
    186187
    187             TEXT_IO.PUT_LINE( "*** END OF TEST 8 ***" );
     188            TEST_SUPPORT.ADA_TEST_END;
    188189
    189190            RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp09/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 9"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp09/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 9 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    365366      end if;
    366367
    367       TEXT_IO.PUT_LINE( "*** END OF TEST 9 ***" );
     368      TEST_SUPPORT.ADA_TEST_END;
    368369
    369370      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp10/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 10"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp10/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 10 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    165166      end if;
    166167
    167       TEXT_IO.PUT_LINE( "*** END OF TEST 10 ***" );
     168      TEST_SUPPORT.ADA_TEST_END;
    168169
    169170      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp11/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 11"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp11/mptest.adb

    r6899a8d rf6c9334d  
    4242
    4343      TEXT_IO.NEW_LINE( 2 );
    44       TEXT_IO.PUT( "*** TEST 11 -- NODE " );
     44      TEST_SUPPORT.ADA_TEST_BEGIN;
     45      TEXT_IO.PUT( "*** NODE " );
    4546      UNSIGNED32_IO.PUT(
    4647         TEST_SUPPORT.NODE,
     
    128129      end if;
    129130
    130       TEXT_IO.PUT_LINE( "*** END OF TEST 11 ***" );
     131      TEST_SUPPORT.ADA_TEST_END;
    131132
    132133      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp12/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 12"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp12/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 12 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    140141      end if;
    141142
    142       TEXT_IO.PUT_LINE( "*** END OF TEST 12 ***" );
     143      TEST_SUPPORT.ADA_TEST_END;
    143144
    144145      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp13/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 13"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp13/mptest.adb

    r6899a8d rf6c9334d  
    4141
    4242      TEXT_IO.NEW_LINE( 2 );
    43       TEXT_IO.PUT( "*** TEST 13 -- NODE " );
     43      TEST_SUPPORT.ADA_TEST_BEGIN;
     44      TEXT_IO.PUT( "*** NODE " );
    4445      UNSIGNED32_IO.PUT(
    4546         TEST_SUPPORT.NODE,
     
    134135         TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_WAKE_AFTER" );
    135136
    136          TEXT_IO.PUT_LINE( "*** END OF TEST 13 ***" );
     137         TEST_SUPPORT.ADA_TEST_END;
    137138
    138139         RTEMS.SHUTDOWN_EXECUTIVE( 0 );
     
    315316      TEXT_IO.PUT_LINE( "semaphore_obtain correctly returned TIMEOUT" );
    316317
    317       TEXT_IO.PUT_LINE( "*** END OF TEST 13 ***" );
     318      TEST_SUPPORT.ADA_TEST_END;
    318319
    319320      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
  • testsuites/ada/mptests/mp14/config_base.h

    r6899a8d rf6c9334d  
    2121#define CONFIGURE_MAXIMUM_TASKS                       2
    2222
     23#define ADA_TEST_NAME "ADA MP 14"
     24
    2325#define CONFIGURE_MAXIMUM_POSIX_THREADS              10
    2426#define CONFIGURE_MAXIMUM_POSIX_KEYS                 10
  • testsuites/ada/mptests/mp14/mptest.adb

    r6899a8d rf6c9334d  
    8383
    8484      TEXT_IO.NEW_LINE( 2 );
    85       TEXT_IO.PUT( "*** TEST 14 -- NODE " );
     85      TEST_SUPPORT.ADA_TEST_BEGIN;
     86      TEXT_IO.PUT( "*** NODE " );
    8687      UNSIGNED32_IO.PUT(
    8788         TEST_SUPPORT.NODE,
Note: See TracChangeset for help on using the changeset viewer.