change log for rtems (2010-07-05)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jul 6 02:14:54 UTC 2010
*joel*:
2010-07-05 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/src/getrusage.c: Formatting.
M 1.2490 cpukit/ChangeLog
M 1.2 cpukit/libcsupport/src/getrusage.c
diff -u rtems/cpukit/ChangeLog:1.2489 rtems/cpukit/ChangeLog:1.2490
--- rtems/cpukit/ChangeLog:1.2489 Mon Jul 5 16:31:55 2010
+++ rtems/cpukit/ChangeLog Mon Jul 5 20:15:43 2010
@@ -1,5 +1,9 @@
2010-07-05 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * libcsupport/src/getrusage.c: Formatting.
+
+2010-07-05 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* libcsupport/src/getlogin.c: Formatting. Add EFAULT.
* libcsupport/src/termios.c: Formatting.
diff -u rtems/cpukit/libcsupport/src/getrusage.c:1.1 rtems/cpukit/libcsupport/src/getrusage.c:1.2
--- rtems/cpukit/libcsupport/src/getrusage.c:1.1 Wed Nov 12 09:36:49 2008
+++ rtems/cpukit/libcsupport/src/getrusage.c Mon Jul 5 20:15:44 2010
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -43,9 +43,12 @@
usage->ru_stime = rtime;
return 0;
- } else if (who == RUSAGE_CHILDREN) {
+ }
+
+ if (who == RUSAGE_CHILDREN) {
rtems_set_errno_and_return_minus_one( ENOSYS );
}
+
rtems_set_errno_and_return_minus_one( EINVAL );
}
*joel*:
2010-07-05 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, configure.ac: Add new fatal error test for termios
initialize.
* spfatal20/.cvsignore, spfatal20/Makefile.am, spfatal20/spfatal20.doc,
spfatal20/spfatal20.scn, spfatal20/testcase.h: New files.
M 1.393 testsuites/sptests/ChangeLog
M 1.96 testsuites/sptests/Makefile.am
M 1.101 testsuites/sptests/configure.ac
A 1.1 testsuites/sptests/spfatal20/.cvsignore
A 1.1 testsuites/sptests/spfatal20/Makefile.am
A 1.1 testsuites/sptests/spfatal20/spfatal20.doc
A 1.1 testsuites/sptests/spfatal20/spfatal20.scn
A 1.1 testsuites/sptests/spfatal20/testcase.h
diff -u rtems/testsuites/sptests/ChangeLog:1.392 rtems/testsuites/sptests/ChangeLog:1.393
--- rtems/testsuites/sptests/ChangeLog:1.392 Mon Jul 5 15:14:18 2010
+++ rtems/testsuites/sptests/ChangeLog Mon Jul 5 20:53:08 2010
@@ -1,3 +1,10 @@
+2010-07-05 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * Makefile.am, configure.ac: Add new fatal error test for termios
+ initialize.
+ * spfatal20/.cvsignore, spfatal20/Makefile.am, spfatal20/spfatal20.doc,
+ spfatal20/spfatal20.scn, spfatal20/testcase.h: New files.
+
2010-07-05 Bharath Suri <bharath.s.jois at gmail.com>
PR 1600/testing
diff -u rtems/testsuites/sptests/Makefile.am:1.95 rtems/testsuites/sptests/Makefile.am:1.96
--- rtems/testsuites/sptests/Makefile.am:1.95 Mon Jul 5 15:14:18 2010
+++ rtems/testsuites/sptests/Makefile.am Mon Jul 5 20:53:08 2010
@@ -20,7 +20,7 @@
sperror01 sperror02 sperror03 \
spfatal01 spfatal02 spfatal03 spfatal04 spfatal05 spfatal06 spfatal07 \
spfatal08 spfatal09 spfatal10 spfatal11 spfatal12 spfatal13 spfatal14 \
- spfatal15 spfatal16 spfatal17 spfatal18 spfatal19 \
+ spfatal15 spfatal16 spfatal17 spfatal18 spfatal19 spfatal20 \
spfifo01 spfifo02 spfifo03 spfifo04 spfifo05 \
spintrcritical01 spintrcritical02 spintrcritical03 spintrcritical04 \
spintrcritical05 spintrcritical06 spintrcritical07 spintrcritical08 \
diff -u rtems/testsuites/sptests/configure.ac:1.100 rtems/testsuites/sptests/configure.ac:1.101
--- rtems/testsuites/sptests/configure.ac:1.100 Mon Jul 5 15:14:19 2010
+++ rtems/testsuites/sptests/configure.ac Mon Jul 5 20:53:08 2010
@@ -122,6 +122,7 @@
spfatal17/Makefile
spfatal18/Makefile
spfatal19/Makefile
+spfatal20/Makefile
spfifo01/Makefile
spfifo02/Makefile
spfifo03/Makefile
diff -u /dev/null rtems/testsuites/sptests/spfatal20/.cvsignore:1.1
--- /dev/null Mon Jul 5 21:14:53 2010
+++ rtems/testsuites/sptests/spfatal20/.cvsignore Mon Jul 5 20:53:08 2010
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff -u /dev/null rtems/testsuites/sptests/spfatal20/Makefile.am:1.1
--- /dev/null Mon Jul 5 21:14:53 2010
+++ rtems/testsuites/sptests/spfatal20/Makefile.am Mon Jul 5 20:53:09 2010
@@ -0,0 +1,29 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = spfatal20
+spfatal20_SOURCES = ../spfatal_support/init.c \
+ ../spfatal_support/consume_sems.c \
+ ../spfatal_support/system.h testcase.h
+
+dist_rtems_tests_DATA = spfatal20.scn
+dist_rtems_tests_DATA += spfatal20.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -DSEMAPHORES_REMAINING=0
+
+LINK_OBJS = $(spfatal20_OBJECTS) $(spfatal20_LDADD)
+LINK_LIBS = $(spfatal20_LDLIBS)
+
+spfatal20$(EXEEXT): $(spfatal20_OBJECTS) $(spfatal20_DEPENDENCIES)
+ @rm -f spfatal20$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff -u /dev/null rtems/testsuites/sptests/spfatal20/spfatal20.doc:1.1
--- /dev/null Mon Jul 5 21:14:53 2010
+++ rtems/testsuites/sptests/spfatal20/spfatal20.doc Mon Jul 5 20:53:09 2010
@@ -0,0 +1,22 @@
+#
+# $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: spfatal20
+
+directives:
+
+ rtems_termios_initialize
+
+concepts:
+
++ fatal error for unable to create a semaphore
diff -u /dev/null rtems/testsuites/sptests/spfatal20/spfatal20.scn:1.1
--- /dev/null Mon Jul 5 21:14:53 2010
+++ rtems/testsuites/sptests/spfatal20/spfatal20.scn Mon Jul 5 20:53:09 2010
@@ -0,0 +1,2 @@
+Fatal error (rtems_termios_initialize cannot create semaphore) hit
+
diff -u /dev/null rtems/testsuites/sptests/spfatal20/testcase.h:1.1
--- /dev/null Mon Jul 5 21:14:54 2010
+++ rtems/testsuites/sptests/spfatal20/testcase.h Mon Jul 5 20:53:09 2010
@@ -0,0 +1,29 @@
+/*
+ * 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$
+ */
+
+/* generate fatal errors in termios.c
+ * rtems_semaphore_create( rtems_build_name ('T', 'R', 'r', c),...);
+ */
+
+#define FATAL_ERROR_TEST_NAME "20"
+#define FATAL_ERROR_DESCRIPTION \
+ "rtems_termios_initialize cannot create semaphore"
+#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
+#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
+#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY
+
+#define CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS \
+ CONSUME_SEMAPHORE_DRIVERS
+
+void force_error()
+{
+ /* we will not run this far */
+}
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100705/55d8d127/attachment.html>
More information about the vc
mailing list