summaryrefslogtreecommitdiffstats
path: root/testsuites/ada/samples/hello/sptest.adb
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/ada/samples/hello/sptest.adb')
-rw-r--r--testsuites/ada/samples/hello/sptest.adb44
1 files changed, 44 insertions, 0 deletions
diff --git a/testsuites/ada/samples/hello/sptest.adb b/testsuites/ada/samples/hello/sptest.adb
new file mode 100644
index 0000000000..8c29155eba
--- /dev/null
+++ b/testsuites/ada/samples/hello/sptest.adb
@@ -0,0 +1,44 @@
+--
+-- SPTEST / BODY
+--
+-- DESCRIPTION:
+--
+-- This package is the implementation of Test 1 of the RTEMS
+-- Single Processor Test Suite.
+--
+-- DEPENDENCIES:
+--
+--
+--
+-- COPYRIGHT (c) 1989-2011.
+-- On-Line Applications Research Corporation (OAR).
+--
+-- 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;
+
+package body SPTEST is
+
+--
+-- INIT
+--
+
+ procedure INIT (
+ ARGUMENT : in RTEMS.TASKS.ARGUMENT
+ ) is
+ pragma Unreferenced(ARGUMENT);
+ begin
+
+ TEXT_IO.NEW_LINE( 2 );
+ TEXT_IO.PUT_LINE( "*** HELLO WORLD TEST ***" );
+ TEXT_IO.PUT_LINE( "Hello World" );
+ TEXT_IO.PUT_LINE( "*** END OF HELLO WORLD TEST ***" );
+
+ RTEMS.SHUTDOWN_EXECUTIVE( 0 );
+
+ end INIT;
+
+end SPTEST;