<!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 (2010-07-27)</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-07-27 Bharath Suri <bharath.s.jois@gmail.com>
PR 1631/testing
* gxx02/init.c, gxx02/gxx02.scn, gxx02/gxx02.doc,
gxx02/Makefile.am, gxx02/gxx_wrappers.h: New test added
* Makefile.am, configure.ac: Changes to accommodate new tests
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.216&r2=text&tr2=1.217&diff_format=h">M</a></td><td width='1%'>1.217</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/Makefile.am.diff?r1=text&tr1=1.43&r2=text&tr2=1.44&diff_format=h">M</a></td><td width='1%'>1.44</td><td width='100%'>testsuites/libtests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/configure.ac.diff?r1=text&tr1=1.50&r2=text&tr2=1.51&diff_format=h">M</a></td><td width='1%'>1.51</td><td width='100%'>testsuites/libtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/gxx02/.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/libtests/gxx02/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/gxx02/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/libtests/gxx02/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/gxx02/gxx02.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/libtests/gxx02/gxx02.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/gxx02/gxx02.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/libtests/gxx02/gxx02.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/gxx02/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/libtests/gxx02/init.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.216 rtems/testsuites/libtests/ChangeLog:1.217
--- rtems/testsuites/libtests/ChangeLog:1.216 Tue Jul 27 08:57:16 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Jul 27 09:45:09 2010
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-07-27 Bharath Suri <bharath.s.jois@gmail.com>
+
+ PR 1631/testing
+ * gxx02/init.c, gxx02/gxx02.scn, gxx02/gxx02.doc,
+ gxx02/Makefile.am, gxx02/gxx_wrappers.h: New test added
+ * Makefile.am, configure.ac: Changes to accommodate new tests
+
</font> 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1632/testing
<font color='#006600'>diff -u rtems/testsuites/libtests/Makefile.am:1.43 rtems/testsuites/libtests/Makefile.am:1.44
--- rtems/testsuites/libtests/Makefile.am:1.43 Tue Jul 27 08:57:16 2010
+++ rtems/testsuites/libtests/Makefile.am Tue Jul 27 09:45:09 2010
</font><font color='#997700'>@@ -7,7 +7,7 @@
</font> SUBDIRS = POSIX
SUBDIRS += bspcmdline01 cpuuse devfs01 devfs02 devfs03 devfs04 \
<font color='#880000'>- devnullfatal01 gxx01 \
</font><font color='#000088'>+ devnullfatal01 gxx01 gxx02 \
</font> malloctest malloc02 malloc03 malloc04 malloc05 heapwalk \
putenvtest monitor monitor02 rtmonuse stackchk stackchk01 \
termios termios01 termios02 termios03 termios04 termios05 \
<font color='#006600'>diff -u rtems/testsuites/libtests/configure.ac:1.50 rtems/testsuites/libtests/configure.ac:1.51
--- rtems/testsuites/libtests/configure.ac:1.50 Tue Jul 27 08:57:16 2010
+++ rtems/testsuites/libtests/configure.ac Tue Jul 27 09:45:09 2010
</font><font color='#997700'>@@ -51,6 +51,7 @@
</font> devfs04/Makefile
devnullfatal01/Makefile
gxx01/Makefile
<font color='#000088'>+gxx02/Makefile
</font> heapwalk/Makefile
malloctest/Makefile
malloc02/Makefile
<font color='#006600'>diff -u /dev/null rtems/testsuites/libtests/gxx02/.cvsignore:1.1
--- /dev/null Tue Jul 27 10:10:36 2010
+++ rtems/testsuites/libtests/gxx02/.cvsignore Tue Jul 27 09:45:09 2010
</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/libtests/gxx02/Makefile.am:1.1
--- /dev/null Tue Jul 27 10:10:36 2010
+++ rtems/testsuites/libtests/gxx02/Makefile.am Tue Jul 27 09:45:09 2010
</font><font color='#997700'>@@ -0,0 +1,27 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = gxx02
+gxx02_SOURCES = init.c
+
+dist_rtems_tests_DATA = gxx02.scn
+dist_rtems_tests_DATA += gxx02.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
+AM_CPPFLAGS += -I$(top_srcdir)/gxx01
+
+LINK_OBJS = $(gxx02_OBJECTS) $(gxx02_LDADD)
+LINK_LIBS = $(gxx02_LDLIBS)
+
+gxx02$(EXEEXT): $(gxx02_OBJECTS) $(gxx02_DEPENDENCIES)
+ @rm -f gxx02$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/libtests/gxx02/gxx02.doc:1.1
--- /dev/null Tue Jul 27 10:10:36 2010
+++ rtems/testsuites/libtests/gxx02/gxx02.doc Tue Jul 27 09:45:09 2010
</font><font color='#997700'>@@ -0,0 +1,23 @@
</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: gxx01
+
+directives:
+
+ rtems_gxx_getspecific
+
+concepts:
+
++ Exercise an error path in the rtems_gxx_getspecific() routine,
+leading to a rtems_panic
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/libtests/gxx02/gxx02.scn:1.1
--- /dev/null Tue Jul 27 10:10:36 2010
+++ rtems/testsuites/libtests/gxx02/gxx02.scn Tue Jul 27 09:45:10 2010
</font><font color='#997700'>@@ -0,0 +1,6 @@
</font><font color='#000088'>+*** TEST GXX 02 ***
+Init - allocating most of workspace memory
+rtems_gxx_getspecific() - panic and exit
+*** END OF TEST GXX 02 ***
+rtems_gxx_getspecific
+fatal error, exiting
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/libtests/gxx02/init.c:1.1
--- /dev/null Tue Jul 27 10:10:36 2010
+++ rtems/testsuites/libtests/gxx02/init.c Tue Jul 27 09:45:10 2010
</font><font color='#997700'>@@ -0,0 +1,56 @@
</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 "gxx_wrappers.h"
+#include <rtems/score/heap.h>
+
+rtems_task Init(
+ rtems_task_argument argument
+)
+{
+
+ void *alloc_ptr = (void *)0;
+ Heap_Information_block Info;
+ __gthread_key_t key = 0;
+ int status = 0;
+ void *retptr;
+
+ puts( "\n\n*** TEST GXX 02 ***" );
+
+ puts( "Init - allocating most of workspace memory" );
+ status = rtems_workspace_get_information( &Info );
+ rtems_test_assert( status == true );
+ status = rtems_workspace_allocate( Info.Free.largest - 4, &alloc_ptr );
+ rtems_test_assert( status == true );
+
+ puts( "rtems_gxx_getspecific() - panic and exit" );
+
+ puts( "*** END OF TEST GXX 02 ***" );
+
+ /* The below call will not return and hence the END OF above */
+ retptr = rtems_gxx_getspecific( key );
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_MAXIMUM_SEMAPHORES 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>