<!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 (2011-07-26)</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-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac: New test to get coverage of core mutex
obtain while in ISR or other dispatch disabled critical section but
no wait.
* sp75/.cvsignore, sp75/Makefile.am, sp75/init.c, sp75/sp75.doc,
sp75/sp75.scn: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.464&r2=text&tr2=1.465&diff_format=h">M</a></td><td width='1%'>1.465</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/Makefile.am.diff?r1=text&tr1=1.112&r2=text&tr2=1.113&diff_format=h">M</a></td><td width='1%'>1.113</td><td width='100%'>testsuites/sptests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/configure.ac.diff?r1=text&tr1=1.118&r2=text&tr2=1.119&diff_format=h">M</a></td><td width='1%'>1.119</td><td width='100%'>testsuites/sptests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/.cvsignore?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">testsuites/sptests/sp75/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/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">testsuites/sptests/sp75/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/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">testsuites/sptests/sp75/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/sp75.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">testsuites/sptests/sp75/sp75.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/sp75.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">testsuites/sptests/sp75/sp75.scn</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.464 rtems/testsuites/sptests/ChangeLog:1.465
--- rtems/testsuites/sptests/ChangeLog:1.464 Tue Jul 26 14:44:20 2011
+++ rtems/testsuites/sptests/ChangeLog Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -1,5 +1,13 @@
</font> 2011-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
<font color='#000088'>+ * Makefile.am, configure.ac: New test to get coverage of core mutex
+ obtain while in ISR or other dispatch disabled critical section but
+ no wait.
+ * sp75/.cvsignore, sp75/Makefile.am, sp75/init.c, sp75/sp75.doc,
+ sp75/sp75.scn: New files.
+
+2011-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font> * sp74/init.c, sp74/sp74.scn: Fix to get the case hit per coverage
reports.
<font color='#006600'>diff -u rtems/testsuites/sptests/Makefile.am:1.112 rtems/testsuites/sptests/Makefile.am:1.113
--- rtems/testsuites/sptests/Makefile.am:1.112 Tue Jul 26 12:30:27 2011
+++ rtems/testsuites/sptests/Makefile.am Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -14,7 +14,7 @@
</font> sp40 sp41 sp42 sp43 sp44 sp45 sp46 sp47 sp48 sp49 \
sp50 sp51 sp52 sp53 sp54 sp55 sp56 sp57 sp58 sp59 \
sp60 sp62 sp63 sp64 sp65 sp66 sp67 sp68 sp69 \
<font color='#880000'>- sp70 sp71 sp72 sp73 sp74 \
</font><font color='#000088'>+ sp70 sp71 sp72 sp73 sp74 sp75 \
</font> spassoc01 spchain spclockget spcoverage spobjgetnext \
spnotepad01 spprintk spprivenv01 sprbtree01 spsize spstkalloc \
spthreadq01 spwatchdog spwkspace \
<font color='#006600'>diff -u rtems/testsuites/sptests/configure.ac:1.118 rtems/testsuites/sptests/configure.ac:1.119
--- rtems/testsuites/sptests/configure.ac:1.118 Tue Jul 26 12:30:28 2011
+++ rtems/testsuites/sptests/configure.ac Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -100,6 +100,7 @@
</font> sp72/Makefile
sp73/Makefile
sp74/Makefile
<font color='#000088'>+sp75/Makefile
</font> spassoc01/Makefile
spchain/Makefile
spclockget/Makefile
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/sp75/.cvsignore:1.1
--- /dev/null Tue Jul 26 16:10:30 2011
+++ rtems/testsuites/sptests/sp75/.cvsignore Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/sp75/Makefile.am:1.1
--- /dev/null Tue Jul 26 16:10:30 2011
+++ rtems/testsuites/sptests/sp75/Makefile.am Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -0,0 +1,26 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = sp75
+sp75_SOURCES = init.c
+
+dist_rtems_tests_DATA = sp75.scn
+dist_rtems_tests_DATA += sp75.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 = $(sp75_OBJECTS) $(sp75_LDADD)
+LINK_LIBS = $(sp75_LDLIBS)
+
+sp75$(EXEEXT): $(sp75_OBJECTS) $(sp75_DEPENDENCIES)
+ @rm -f sp75$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/sp75/init.c:1.1
--- /dev/null Tue Jul 26 16:10:30 2011
+++ rtems/testsuites/sptests/sp75/init.c Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -0,0 +1,57 @@
</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$
+ */
+
+#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
+#include <tmacros.h>
+#include "test_support.h"
+
+rtems_task Init(
+ rtems_task_argument argument
+)
+{
+ rtems_status_code sc;
+ rtems_id mutex;
+
+ puts( "\n\n*** TEST SP75 ***" );
+
+ sc = rtems_semaphore_create(
+ rtems_build_name('M', 'U', 'T', 'X'),
+ 0,
+ RTEMS_BINARY_SEMAPHORE,
+ 0,
+ &mutex
+ );
+ directive_failed(sc, "rtems_semaphore_create");
+
+ _Thread_Disable_dispatch();
+
+ sc = rtems_semaphore_obtain(mutex, RTEMS_NO_WAIT, RTEMS_NO_TIMEOUT);
+ directive_failed(sc, "rtems_semaphore_obtain");
+
+ _Thread_Enable_dispatch();
+<span style="background-color: #FF0000"> </span>
+ puts( "*** END OF TEST SP75 ***" );
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/sp75/sp75.doc:1.1
--- /dev/null Tue Jul 26 16:10:30 2011
+++ rtems/testsuites/sptests/sp75/sp75.doc Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -0,0 +1,22 @@
</font><font color='#000088'>+#
+# $Id$
+#
+# 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.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name: sp75
+
+directives:
+
+ XXX list them
+
+concepts:
+
++ XXX list them
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/sp75/sp75.scn:1.1
--- /dev/null Tue Jul 26 16:10:30 2011
+++ rtems/testsuites/sptests/sp75/sp75.scn Tue Jul 26 15:53:09 2011
</font><font color='#997700'>@@ -0,0 +1 @@
</font><font color='#000088'>+XXX fill in with test output
</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>