<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-06-13)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>

        * psxtmtest_single/init.c: Fine tune a bit.
        * smptest/TEST.doc, smptest/TEST.scn, smptest/init.c: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/ChangeLog.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>rtems-test-template/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_single/init.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>rtems-test-template/psxtmtest_single/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/smptest/TEST.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">rtems-test-template/smptest/TEST.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/smptest/TEST.scn?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">rtems-test-template/smptest/TEST.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/smptest/init.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">rtems-test-template/smptest/init.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-test-template/ChangeLog:1.10 rtems-testing/rtems-test-template/ChangeLog:1.11
--- rtems-testing/rtems-test-template/ChangeLog:1.10    Fri Jun 10 08:19:07 2011
+++ rtems-testing/rtems-test-template/ChangeLog Mon Jun 13 14:28:14 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-13    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * psxtmtest_single/init.c: Fine tune a bit.
+       * smptest/TEST.doc, smptest/TEST.scn, smptest/init.c: New files.
+
</font> 2011-06-10        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * psxtmtest_single/init.c: More meat.

<font color='#006600'>diff -u rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.2 rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.3
--- rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.2       Fri Jun 10 08:19:07 2011
+++ rtems-testing/rtems-test-template/psxtmtest_single/init.c   Mon Jun 13 14:28:14 2011
</font><font color='#997700'>@@ -9,9 +9,12 @@
</font>  *  $Id$
  */
 
<font color='#880000'>-#include <coverhd.h>
-#include <tmacros.h>
</font><font color='#000088'>+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
</font> #include <timesys.h>
<font color='#000088'>+#include <rtems/timerdrv.h>
</font> #include "test_support.h"
 
 void *POSIX_Init(
<font color='#997700'>@@ -20,7 +23,7 @@
</font> {
   long end_time;
 
<font color='#880000'>-  puts( "\n\n*** POSIX TIME TEST @DESC@ ***" );
</font><font color='#000088'>+  puts( "\n\n*** POSIX TIME TEST @UPPER@ ***" );
</font> 
   /* XXX any required initialization goes here */
 
<font color='#997700'>@@ -38,7 +41,7 @@
</font>     0
   );
 
<font color='#880000'>-  puts( "*** END OF POSIX TIME TEST @DESC@ ***" );
</font><font color='#000088'>+  puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
</font> 
   rtems_test_exit(0);
 }

<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/smptest/TEST.doc:1.1
--- /dev/null   Mon Jun 13 15:10:02 2011
+++ rtems-testing/rtems-test-template/smptest/TEST.doc  Mon Jun 13 14:28:14 2011
</font><font color='#997700'>@@ -0,0 +1,22 @@
</font><font color='#000088'>+#
+#  $Id$
+#
+#  COPYRIGHT (c) 1989-2010.
+#  On-Line Applications Research Corporation (OAR).
+#
+#  The license and distribution terms for this file may be
+#  found in the file LICENSE in this distribution or at
+#  http://www.rtems.com/license/LICENSE.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name:  @LOWER@
+
+directives:
+
+  XXX list them
+
+concepts:
+
++ XXX list them
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/smptest/TEST.scn:1.1
--- /dev/null   Mon Jun 13 15:10:02 2011
+++ rtems-testing/rtems-test-template/smptest/TEST.scn  Mon Jun 13 14:28:14 2011
</font><font color='#997700'>@@ -0,0 +1 @@
</font><font color='#000088'>+XXX fill in with test output
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/smptest/init.c:1.1
--- /dev/null   Mon Jun 13 15:10:02 2011
+++ rtems-testing/rtems-test-template/smptest/init.c    Mon Jun 13 14:28:14 2011
</font><font color='#997700'>@@ -0,0 +1,75 @@
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#include <tmacros.h>
+#include "test_support.h"
+
+rtems_task Test_task(
+  rtems_task_argument argument
+)
+{
+  /* XXX something goes here */
+}
+
+rtems_task Init(
+  rtems_task_argument argument
+)
+{
+  int                i;
+  char               ch;
+  int                cpu_num;
+  rtems_id           id;
+  rtems_status_code  status;
+
+  puts( "\n\n*** TEST @UPPER@ ***" );
+
+  for ( i=0; i<_SMP_Processor_count-1; i++ ) {
+    ch = '1' + i;
+
+    status = rtems_task_create(
+      rtems_build_name( 'T', 'A', ch, ' ' ),
+      1,
+      RTEMS_MINIMUM_STACK_SIZE,
+      RTEMS_DEFAULT_MODES,
+      RTEMS_DEFAULT_ATTRIBUTES,
+      &id
+    );
+    directive_failed( status, "task create" );
+
+    cpu_num = bsp_smp_processor_id();
+    printf(" CPU %d start task TA%c\n", cpu_num, ch);
+
+    status = rtems_task_start( id, Test_task, i+1 );
+    directive_failed( status, "task start" );
+  }
+
+  /* XXX something goes here */
+
+  puts( "*** END OF TEST @UPPER@ ***" );
+  rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_SMP_APPLICATION
+#define CONFIGURE_SMP_MAXIMUM_PROCESSORS   2
+
+#define CONFIGURE_MAXIMUM_TASKS            \
+    (1 + CONFIGURE_SMP_MAXIMUM_PROCESSORS)
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+/* end of file */
</font></pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>