source: rtems/testsuites/ada/samples/hello/sptest.adb @ 2d0bc83

5
Last change on this file since 2d0bc83 was f6c9334d, checked in by Sebastian Huber <sebastian.huber@…>, on 12/01/17 at 07:51:17

ada: Add standard test begin/end message

  • Property mode set to 100644
File size: 809 bytes
Line 
1--
2--  SPTEST / BODY
3--
4--  DESCRIPTION:
5--
6--  This package is the implementation of Test 1 of the RTEMS
7--  Single Processor Test Suite.
8--
9--  DEPENDENCIES:
10--
11-- 
12--
13--  COPYRIGHT (c) 1989-2011.
14--  On-Line Applications Research Corporation (OAR).
15--
16--  The license and distribution terms for this file may in
17--  the file LICENSE in this distribution or at
18--  http://www.rtems.org/license/LICENSE.
19--
20
21with TEXT_IO;
22with TEST_SUPPORT;
23
24package body SPTEST is
25
26--
27--  INIT
28--
29
30   procedure INIT (
31      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
32   ) is
33      pragma Unreferenced(ARGUMENT);
34   begin
35
36      TEXT_IO.NEW_LINE( 2 );
37      TEST_SUPPORT.ADA_TEST_BEGIN;
38      TEXT_IO.PUT_LINE( "Hello World" );
39      TEST_SUPPORT.ADA_TEST_END;
40
41      RTEMS.SHUTDOWN_EXECUTIVE( 0 );
42
43   end INIT;
44
45end SPTEST;
Note: See TracBrowser for help on using the repository browser.