<!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 (2010-11-05)</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>2010-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* gdb-sim-run.in, gdb-sim.in, psim.in: Add trace support.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/sim-scripts/ChangeLog.diff?r1=text&tr1=1.89&r2=text&tr2=1.90&diff_format=h">M</a></td><td width='1%'>1.90</td><td width='100%'>sim-scripts/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/sim-scripts/gdb-sim-run.in.diff?r1=text&tr1=1.47&r2=text&tr2=1.48&diff_format=h">M</a></td><td width='1%'>1.48</td><td width='100%'>sim-scripts/gdb-sim-run.in</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/sim-scripts/gdb-sim.in.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>sim-scripts/gdb-sim.in</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/sim-scripts/psim.in.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>sim-scripts/psim.in</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/sim-scripts/ChangeLog:1.89 rtems-testing/sim-scripts/ChangeLog:1.90
--- rtems-testing/sim-scripts/ChangeLog:1.89 Thu Jul 22 06:38:15 2010
+++ rtems-testing/sim-scripts/ChangeLog Fri Nov 5 14:31:57 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * gdb-sim-run.in, gdb-sim.in, psim.in: Add trace support.
+
</font> 2010-07-21 Vinu Rajashekhar <vinutheraj@gmail.com>
* pc386.in: Add Go support. Plus some cleanup from Joel.
<font color='#006600'>diff -u rtems-testing/sim-scripts/gdb-sim-run.in:1.47 rtems-testing/sim-scripts/gdb-sim-run.in:1.48
--- rtems-testing/sim-scripts/gdb-sim-run.in:1.47 Thu Nov 4 21:53:42 2010
+++ rtems-testing/sim-scripts/gdb-sim-run.in Fri Nov 5 14:31:57 2010
</font><font color='#997700'>@@ -84,6 +84,7 @@
</font> use_sysv_ipc="no"
generate_tree_and_exit="no"
logdir="log"
<font color='#000088'>+doTrace="no"
</font> enable_display_adapter="no"
enable_network="no"
rtems_test="no"
<font color='#997700'>@@ -102,6 +103,7 @@
</font> l) defaultLimit="$OPTARG";;
L) logdir="$OPTARG";;
s) use_sysv_ipc="yes";;
<font color='#000088'>+ t) doTrace="yes";;
</font> T) rtems_test="yes";;
*) fatal;;
esac
<font color='#006600'>diff -u rtems-testing/sim-scripts/gdb-sim.in:1.17 rtems-testing/sim-scripts/gdb-sim.in:1.18
--- rtems-testing/sim-scripts/gdb-sim.in:1.17 Tue Jul 20 11:21:21 2010
+++ rtems-testing/sim-scripts/gdb-sim.in Fri Nov 5 14:31:57 2010
</font><font color='#997700'>@@ -1,4 +1,4 @@
</font><font color='#880000'>-#! /bin/bassh
</font><font color='#000088'>+#! /bin/bash
</font> #
# Framework script tailored for the @CPU@/@BSP@
#
<font color='#006600'>diff -u rtems-testing/sim-scripts/psim.in:1.8 rtems-testing/sim-scripts/psim.in:1.9
--- rtems-testing/sim-scripts/psim.in:1.8 Mon Oct 12 16:16:23 2009
+++ rtems-testing/sim-scripts/psim.in Fri Nov 5 14:31:57 2010
</font><font color='#997700'>@@ -6,7 +6,10 @@
</font>
runARGS()
{
<font color='#880000'>- echo "-f ${bspTreeFile} ${1}"
</font><font color='#000088'>+ if [ ${doTrace} = "yes" ] ; then
+ TRACEARGS="-t all"
+ fi
+ echo "-f ${bspTreeFile} ${TRACEARGS} ${1}"
</font> }
checkBSPFaults()
<font color='#997700'>@@ -31,7 +34,10 @@
</font>
bspGenerateGDBCommands()
{
<font color='#880000'>-echo "tar sim -f ${bspTreeFile}"
</font><font color='#000088'>+if [ ${doTrace} = "yes" ] ; then
+ TRACEARGS="-t all"
+fi
+echo "tar sim -f ${bspTreeFile} ${TRACEARGS}"
</font> echo "load"
}
</pre>
<p> </p>
<a name='cs2'></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>2010-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtest/Makefile.am, psxtest/TEST.doc, psxtest/TEST.scn,
psxtest/init.c, psxtest_with_thread/.init.c.swp,
psxtest_with_thread/Makefile.am, psxtest_with_thread/TEST.doc,
psxtest_with_thread/TEST.scn, psxtest_with_thread/init.c,
psxtmtest_blocking/Makefile.am, psxtmtest_blocking/TEST.doc,
psxtmtest_blocking/init.c, psxtmtest_single/Makefile.am,
psxtmtest_single/TEST.doc, psxtmtest_single/init.c,
sptest_with_task/Makefile.am, sptest_with_task/TEST.doc,
sptest_with_task/TEST.scn, sptest_with_task/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.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</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/psxtest/Makefile.am?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/psxtest/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest/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/psxtest/TEST.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest/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/psxtest/TEST.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest/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/psxtest/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest_with_thread/.init.c.swp?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/psxtest_with_thread/.init.c.swp</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest_with_thread/Makefile.am?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/psxtest_with_thread/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest_with_thread/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/psxtest_with_thread/TEST.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest_with_thread/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/psxtest_with_thread/TEST.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtest_with_thread/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/psxtest_with_thread/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_blocking/Makefile.am?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/psxtmtest_blocking/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_blocking/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/psxtmtest_blocking/TEST.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_blocking/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/psxtmtest_blocking/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_single/Makefile.am?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/psxtmtest_single/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_single/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/psxtmtest_single/TEST.doc</font></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?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/psxtmtest_single/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/sptest_with_task/Makefile.am?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/sptest_with_task/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/sptest_with_task/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/sptest_with_task/TEST.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/sptest_with_task/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/sptest_with_task/TEST.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/sptest_with_task/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/sptest_with_task/init.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-test-template/ChangeLog:1.7 rtems-testing/rtems-test-template/ChangeLog:1.8
--- rtems-testing/rtems-test-template/ChangeLog:1.7 Mon Jul 5 19:12:30 2010
+++ rtems-testing/rtems-test-template/ChangeLog Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -1,3 +1,15 @@
</font><font color='#000088'>+2010-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * psxtest/Makefile.am, psxtest/TEST.doc, psxtest/TEST.scn,
+ psxtest/init.c, psxtest_with_thread/.init.c.swp,
+ psxtest_with_thread/Makefile.am, psxtest_with_thread/TEST.doc,
+ psxtest_with_thread/TEST.scn, psxtest_with_thread/init.c,
+ psxtmtest_blocking/Makefile.am, psxtmtest_blocking/TEST.doc,
+ psxtmtest_blocking/init.c, psxtmtest_single/Makefile.am,
+ psxtmtest_single/TEST.doc, psxtmtest_single/init.c,
+ sptest_with_task/Makefile.am, sptest_with_task/TEST.doc,
+ sptest_with_task/TEST.scn, sptest_with_task/init.c: New files.
+
</font> 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sptest_operation_from_tsr/init.c: Update year.
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtest/Makefile.am:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest/Makefile.am Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,25 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c
+
+dist_rtems_tests_DATA = @LOWER@.scn
+dist_rtems_tests_DATA += @LOWER@.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/include
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtest/TEST.doc:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest/TEST.doc Fri Nov 5 14:33:03 2010
</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/psxtest/TEST.scn:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest/TEST.scn Fri Nov 5 14:33:03 2010
</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/psxtest/init.c:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest/init.c Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,39 @@
</font><font color='#000088'>+/*
+ * 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.
+ *
+ * $Id$
+ */
+
+#include <tmacros.h>
+#include "test_support.h"
+
+void *POSIX_Init(
+ rtems_task_argument argument
+)
+{
+ puts( "\n\n*** POSIX TEST @DESC@ ***" );
+
+ /* XXX test code goes here */
+<span style="background-color: #FF0000"> </span>
+ puts( "*** END OF POSIX TEST @DESC@ ***" );
+
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#FF0000'>*** DIFF FAILED: ***
</font><font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtest_with_thread/Makefile.am:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest_with_thread/Makefile.am Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,25 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c
+
+dist_rtems_tests_DATA = @LOWER@.scn
+dist_rtems_tests_DATA += @LOWER@.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/include
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtest_with_thread/TEST.doc:1.1
--- /dev/null Fri Nov 5 15:10:05 2010
+++ rtems-testing/rtems-test-template/psxtest_with_thread/TEST.doc Fri Nov 5 14:33:03 2010
</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/psxtest_with_thread/TEST.scn:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtest_with_thread/TEST.scn Fri Nov 5 14:33:03 2010
</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/psxtest_with_thread/init.c:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtest_with_thread/init.c Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,52 @@
</font><font color='#000088'>+/*
+ * 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.
+ *
+ * $Id$
+ */
+
+#include <tmacros.h>
+#include "test_support.h"
+#include <pthread.h>
+
+pthread_t ThreadId;
+
+void *TestThread(
+ void *argument
+)
+{
+ return NULL;
+}
+
+void *POSIX_Init(
+ rtems_task_argument argument
+)
+{
+ int status;
+
+ puts( "\n\n*** POSIX TEST @DESC@ ***" );
+
+ status = pthread_create( &ThreadId, NULL, TestThread, NULL );
+ rtems_test_assert( !status );
+
+ puts( "*** END OF POSIX TEST @DESC@ ***" );
+
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_blocking/Makefile.am:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_blocking/Makefile.am Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,30 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c ../../tmtests/include/timesys.h \
+ ../../support/src/tmtests_empty_function.c \
+ ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = @LOWER@.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+OPERATION_COUNT = @OPERATION_COUNT@
+AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
+AM_CPPFLAGS += -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_blocking/TEST.doc:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_blocking/TEST.doc Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,14 @@
</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 test benchmarks the following operations:
+
++ TBD
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_blocking/init.c:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_blocking/init.c Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,84 @@
</font><font color='#000088'>+/*
+ * 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.
+ *
+ * $Id$
+ */
+
+#include <coverhd.h>
+#include <tmacros.h>
+#include <timesys.h>
+#include "test_support.h"
+#include <pthread.h>
+#include <rtems/timerdrv.h>
+
+void *Low(
+ void *argument
+)
+{
+ long end_time;
+
+ end_time = benchmark_timer_read();
+
+ put_time(
+ "XXX",
+ end_time,
+ OPERATION_COUNT,
+ 0,
+ 0
+ );
+
+ puts( "*** END OF POSIX TIME TEST @DESC@ ***" );
+
+ rtems_test_exit( 0 );
+ return NULL;
+}
+
+void *Middle(
+ void *argument
+)
+{
+ /* XXX blocking operation goes here */
+ return NULL;
+}
+
+void *POSIX_Init(
+ void *argument
+)
+{
+ int i;
+ int status;
+ pthread_t threadId;
+
+ puts( "\n\n*** POSIX TIME TEST @DESC@ ***" );
+
+ for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) {
+ status = pthread_create( &threadId, NULL, Middle, NULL );
+ rtems_test_assert( !status );
+ }
+<span style="background-color: #FF0000"> </span>
+ status = pthread_create( &threadId, NULL, Low, NULL );
+ rtems_test_assert( !status );
+
+ /* start the timer and switch through all the other tasks */
+ benchmark_timer_initialize();
+ /* XXX blocking operation goes here */
+ return NULL;
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS OPERATION_COUNT + 2
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+ /* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_single/Makefile.am:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_single/Makefile.am Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,30 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c ../../tmtests/include/timesys.h \
+ ../../support/src/tmtests_empty_function.c \
+ ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = @LOWER@.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+OPERATION_COUNT = @OPERATION_COUNT@
+AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
+AM_CPPFLAGS += -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_single/TEST.doc:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_single/TEST.doc Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,14 @@
</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 test benchmarks the following operations:
+
++ TBD
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.1
--- /dev/null Fri Nov 5 15:10:06 2010
+++ rtems-testing/rtems-test-template/psxtmtest_single/init.c Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,41 @@
</font><font color='#000088'>+/*
+ * 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.
+ *
+ * $Id$
+ */
+
+#include <coverhd.h>
+#include <tmacros.h>
+#include <timesys.h>
+#include "test_support.h"
+
+void *POSIX_Init(
+ void *argument
+)
+{
+ puts( "\n\n*** POSIX TIME TEST @DESC@ ***" );
+
+ /* XXX test code goes here */
+<span style="background-color: #FF0000"> </span>
+ puts( "*** END OF POSIX TIME TEST @DESC@ ***" );
+
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/sptest_with_task/Makefile.am:1.1
--- /dev/null Fri Nov 5 15:10:07 2010
+++ rtems-testing/rtems-test-template/sptest_with_task/Makefile.am Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,26 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c
+
+dist_rtems_tests_DATA = @LOWER@.scn
+dist_rtems_tests_DATA += @LOWER@.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems-testing/rtems-test-template/sptest_with_task/TEST.doc:1.1
--- /dev/null Fri Nov 5 15:10:07 2010
+++ rtems-testing/rtems-test-template/sptest_with_task/TEST.doc Fri Nov 5 14:33:03 2010
</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/sptest_with_task/TEST.scn:1.1
--- /dev/null Fri Nov 5 15:10:07 2010
+++ rtems-testing/rtems-test-template/sptest_with_task/TEST.scn Fri Nov 5 14:33:03 2010
</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/sptest_with_task/init.c:1.1
--- /dev/null Fri Nov 5 15:10:07 2010
+++ rtems-testing/rtems-test-template/sptest_with_task/init.c Fri Nov 5 14:33:03 2010
</font><font color='#997700'>@@ -0,0 +1,60 @@
</font><font color='#000088'>+/*
+ * 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.
+ *
+ * $Id$
+ */
+
+#include <tmacros.h>
+#include "test_support.h"
+
+rtems_task Test_task(
+ rtems_task_argument argument
+)
+{
+ (void) rtems_task_delete( RTEMS_SELF );
+}
+
+rtems_task Init(
+ rtems_task_argument argument
+)
+{
+ rtems_status_code status;
+ rtems_id task_id;
+
+ puts( "\n\n*** TEST @DESC@ ***" );
+
+ status = rtems_task_create(
+ rtems_build_name( 'T', 'E', 'S', 'T' ),
+ 1,
+ RTEMS_MINIMUM_STACK_SIZE,
+ RTEMS_DEFAULT_MODES,
+ RTEMS_DEFAULT_ATTRIBUTES,
+ &task_id
+ );
+ directive_failed( status, "rtems_task_create" );
+<span style="background-color: #FF0000"> </span>
+ status = rtems_task_start( task_id, Test_task, 0 );
+ directive_failed( status, "rtems_task_start" );
+
+ puts( "*** END OF TEST @DESC@ ***" );
+
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 2
+#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>