summaryrefslogblamecommitdiffstats
path: root/testsuites/ada/sptests/spatcb01/spatcb01.adb
blob: 810446f8711752d3a76119aaaf8e1247c55529f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                             
                  





                                                                                      
                              
                                                                                      
                            
             
--
--  MAIN / BODY
--
--  DESCRIPTION:
--
--  Ensure that the SYSTEM.TASK_PRIMITIVES.OPERATIONS.SPECIFIC implementation
--  works.
--
--  Copyright (c) 2017 embedded brains GmbH
--
--  The license and distribution terms for this file may in
--  the file LICENSE in this distribution or at
--  http://www.rtems.org/license/LICENSE.
--

with TEXT_IO;
with TEST_SUPPORT;
with System.Task_Primitives.Operations;
with System.Tasking;

procedure SPATCB01 is
  Self_Id : constant System.Tasking.Task_Id := System.Task_Primitives.Operations.Self;
begin
  TEST_SUPPORT.ADA_TEST_BEGIN;
  TEXT_IO.PUT_LINE( Self_Id.Common.Task_Image( 1 .. Self_Id.Common.Task_Image_Len ) );
  TEST_SUPPORT.ADA_TEST_END;
end SPATCB01;