change log for rtems (2011-02-14)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Feb 14 21:10:18 UTC 2011


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
	Now all conditionals have the correct sense and all tests pass.

M 1.2711  cpukit/ChangeLog
M   1.22  cpukit/rtems/src/semtranslatereturncode.c
M   1.25  cpukit/score/src/coremutexsurrender.c

diff -u rtems/cpukit/ChangeLog:1.2710 rtems/cpukit/ChangeLog:1.2711
--- rtems/cpukit/ChangeLog:1.2710	Mon Feb 14 11:50:22 2011
+++ rtems/cpukit/ChangeLog	Mon Feb 14 14:21:31 2011
@@ -1,5 +1,10 @@
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
+	* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
+	Now all conditionals have the correct sense and all tests pass.
+
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
 	* score/include/rtems/score/coremutex.h,
 	score/inline/rtems/score/coremutex.inl, score/src/apimutexallocate.c:
 	Fix direction of conditional and eliminate use of nesting is error

diff -u rtems/cpukit/rtems/src/semtranslatereturncode.c:1.21 rtems/cpukit/rtems/src/semtranslatereturncode.c:1.22
--- rtems/cpukit/rtems/src/semtranslatereturncode.c:1.21	Fri Feb 11 14:38:16 2011
+++ rtems/cpukit/rtems/src/semtranslatereturncode.c	Mon Feb 14 14:21:31 2011
@@ -64,7 +64,7 @@
 const rtems_status_code _Semaphore_Translate_core_mutex_return_code_[] = {
   RTEMS_SUCCESSFUL,         /* CORE_MUTEX_STATUS_SUCCESSFUL */
   RTEMS_UNSATISFIED,        /* CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT */
-#if !defined(RTEMS_POSIX_API)
+#if defined(RTEMS_POSIX_API)
   RTEMS_UNSATISFIED,        /* CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED */
 #endif
   RTEMS_NOT_OWNER_OF_RESOURCE, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */

diff -u rtems/cpukit/score/src/coremutexsurrender.c:1.24 rtems/cpukit/score/src/coremutexsurrender.c:1.25
--- rtems/cpukit/score/src/coremutexsurrender.c:1.24	Fri Feb 11 14:38:16 2011
+++ rtems/cpukit/score/src/coremutexsurrender.c	Mon Feb 14 14:21:31 2011
@@ -137,7 +137,7 @@
       switch ( the_mutex->Attributes.lock_nesting_behavior ) {
         case CORE_MUTEX_NESTING_ACQUIRES:
           return CORE_MUTEX_STATUS_SUCCESSFUL;
-        #if !defined(RTEMS_POSIX_API)
+        #if defined(RTEMS_POSIX_API)
           case CORE_MUTEX_NESTING_IS_ERROR:
             /* should never occur */
             return CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* psximfs02/init.c: Disable EPERM test which does not work when POSIX
	is disabled.

M  1.330  testsuites/psxtests/ChangeLog
M    1.8  testsuites/psxtests/psximfs02/init.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.329 rtems/testsuites/psxtests/ChangeLog:1.330
--- rtems/testsuites/psxtests/ChangeLog:1.329	Tue Feb  8 00:37:33 2011
+++ rtems/testsuites/psxtests/ChangeLog	Mon Feb 14 14:21:58 2011
@@ -1,3 +1,8 @@
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* psximfs02/init.c: Disable EPERM test which does not work when POSIX
+	is disabled.
+
 2011-02-08	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* include/pmacros.h: Add PRIxblksize_t, PRIxblkcnt_t.

diff -u rtems/testsuites/psxtests/psximfs02/init.c:1.7 rtems/testsuites/psxtests/psximfs02/init.c:1.8
--- rtems/testsuites/psxtests/psximfs02/init.c:1.7	Mon Aug 30 11:58:12 2010
+++ rtems/testsuites/psxtests/psximfs02/init.c	Mon Feb 14 14:21:58 2011
@@ -142,6 +142,7 @@
   status = seteuid( 10 );
   rtems_test_assert( status == 0 );
 
+#if defined(RTEMS_POSIX_API)
   puts( "Attempt chmod on /node -- expect EPERM" );
   status = chmod( "/node", S_IRUSR );
   rtems_test_assert( status == -1 );
@@ -151,6 +152,10 @@
   status = chown( "/node", 10, 10 );
   rtems_test_assert( status == -1 );
   rtems_test_assert( errno == EPERM );
+#else
+  puts( "Attempt chmod on /node -- EPERM only when POSIX enabled" );
+  puts( "Attempt chown on /node -- EPERM only when POSIX enabled" );
+#endif
 
   puts( "Changing euid back to 0 [root]" );
   status = seteuid( 0 );


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* sp09/Makefile.am: Switch to all managers since this is all of them.

M  1.432  testsuites/sptests/ChangeLog
M   1.24  testsuites/sptests/sp09/Makefile.am

diff -u rtems/testsuites/sptests/ChangeLog:1.431 rtems/testsuites/sptests/ChangeLog:1.432
--- rtems/testsuites/sptests/ChangeLog:1.431	Tue Feb  8 01:23:41 2011
+++ rtems/testsuites/sptests/ChangeLog	Mon Feb 14 14:22:23 2011
@@ -1,3 +1,7 @@
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* sp09/Makefile.am: Switch to all managers since this is all of them.
+
 2011-02-08	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* sp69/init.c: Use "ld" instead of PRId32 to print

diff -u rtems/testsuites/sptests/sp09/Makefile.am:1.23 rtems/testsuites/sptests/sp09/Makefile.am:1.24
--- rtems/testsuites/sptests/sp09/Makefile.am:1.23	Fri Apr  3 07:48:12 2009
+++ rtems/testsuites/sptests/sp09/Makefile.am	Mon Feb 14 14:22:23 2011
@@ -2,8 +2,7 @@
 ## $Id$
 ##
 
-MANAGERS = io clock message dual_ported_memory event multi_processor region \
-    semaphore signal rate_monotonic timer partition
+MANAGERS = all
 
 rtems_tests_PROGRAMS = sp09
 sp09_SOURCES = init.c delay.c isr.c screen01.c screen02.c screen03.c screen04.c \


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* monitor/Makefile.am, monitor02/Makefile.am: Switch to all managers
	since this is all of them.

M  1.255  testsuites/libtests/ChangeLog
M   1.25  testsuites/libtests/monitor/Makefile.am
M    1.5  testsuites/libtests/monitor02/Makefile.am

diff -u rtems/testsuites/libtests/ChangeLog:1.254 rtems/testsuites/libtests/ChangeLog:1.255
--- rtems/testsuites/libtests/ChangeLog:1.254	Fri Feb 11 02:21:04 2011
+++ rtems/testsuites/libtests/ChangeLog	Mon Feb 14 14:24:08 2011
@@ -1,3 +1,8 @@
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* monitor/Makefile.am, monitor02/Makefile.am: Switch to all managers
+	since this is all of them.
+
 2010-02-11	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* stringto01/init.c: Redefine LONG_LONG_MAX and LONG_LONG_MIN

diff -u rtems/testsuites/libtests/monitor/Makefile.am:1.24 rtems/testsuites/libtests/monitor/Makefile.am:1.25
--- rtems/testsuites/libtests/monitor/Makefile.am:1.24	Wed Jun 23 18:26:07 2010
+++ rtems/testsuites/libtests/monitor/Makefile.am	Mon Feb 14 14:24:08 2011
@@ -2,8 +2,7 @@
 ## $Id$
 ##
 
-MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
-    ext
+MANAGERS = all
 
 rtems_tests_PROGRAMS = monitor
 monitor_SOURCES = init.c system.h

diff -u rtems/testsuites/libtests/monitor02/Makefile.am:1.4 rtems/testsuites/libtests/monitor02/Makefile.am:1.5
--- rtems/testsuites/libtests/monitor02/Makefile.am:1.4	Wed Jun 23 18:26:07 2010
+++ rtems/testsuites/libtests/monitor02/Makefile.am	Mon Feb 14 14:24:08 2011
@@ -2,8 +2,7 @@
 ## $Id$
 ##
 
-MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
-    ext
+MANAGERS = all
 
 rtems_tests_PROGRAMS = monitor02
 monitor02_SOURCES = init.c system.h


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* complex/Makefile.am, complex/init.c: Test now runs.

M  1.256  testsuites/libtests/ChangeLog
M    1.3  testsuites/libtests/complex/Makefile.am
M    1.3  testsuites/libtests/complex/init.c

diff -u rtems/testsuites/libtests/ChangeLog:1.255 rtems/testsuites/libtests/ChangeLog:1.256
--- rtems/testsuites/libtests/ChangeLog:1.255	Mon Feb 14 14:24:08 2011
+++ rtems/testsuites/libtests/ChangeLog	Mon Feb 14 14:24:27 2011
@@ -1,5 +1,9 @@
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
+	* complex/Makefile.am, complex/init.c: Test now runs.
+
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
 	* monitor/Makefile.am, monitor02/Makefile.am: Switch to all managers
 	since this is all of them.
 

diff -u rtems/testsuites/libtests/complex/Makefile.am:1.2 rtems/testsuites/libtests/complex/Makefile.am:1.3
--- rtems/testsuites/libtests/complex/Makefile.am:1.2	Tue Nov 30 23:43:07 2010
+++ rtems/testsuites/libtests/complex/Makefile.am	Mon Feb 14 14:24:27 2011
@@ -37,7 +37,7 @@
 include $(top_srcdir)/../automake/leaf.am
 
 if HAS_COMPLEX
-complex_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) -lm
+complex_LDADD = -lm
 
 LINK_OBJS = $(complex_OBJECTS) $(complex_LDADD)
 LINK_LIBS = $(complex_LDLIBS)

diff -u rtems/testsuites/libtests/complex/init.c:1.2 rtems/testsuites/libtests/complex/init.c:1.3
--- rtems/testsuites/libtests/complex/init.c:1.2	Wed Feb  2 01:36:25 2011
+++ rtems/testsuites/libtests/complex/init.c	Mon Feb 14 14:24:27 2011
@@ -58,8 +58,9 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 
 #define CONFIGURE_MAXIMUM_TASKS            1
-#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
+#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
 #define CONFIGURE_INIT


 *joel*:
2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* math/init.c, mathf/init.c, mathl/init.c: Now run.

M  1.257  testsuites/libtests/ChangeLog
M    1.5  testsuites/libtests/math/init.c
M    1.2  testsuites/libtests/mathf/init.c
M    1.2  testsuites/libtests/mathl/init.c

diff -u rtems/testsuites/libtests/ChangeLog:1.256 rtems/testsuites/libtests/ChangeLog:1.257
--- rtems/testsuites/libtests/ChangeLog:1.256	Mon Feb 14 14:24:27 2011
+++ rtems/testsuites/libtests/ChangeLog	Mon Feb 14 14:50:45 2011
@@ -1,5 +1,9 @@
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
+	* math/init.c, mathf/init.c, mathl/init.c: Now run.
+
+2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
 	* complex/Makefile.am, complex/init.c: Test now runs.
 
 2011-02-14	Joel Sherrill <joel.sherrilL at OARcorp.com>

diff -u rtems/testsuites/libtests/math/init.c:1.4 rtems/testsuites/libtests/math/init.c:1.5
--- rtems/testsuites/libtests/math/init.c:1.4	Wed Feb  2 08:00:38 2011
+++ rtems/testsuites/libtests/math/init.c	Mon Feb 14 14:50:45 2011
@@ -52,8 +52,7 @@
 
 #define CONFIGURE_MAXIMUM_TASKS           1
 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-
-#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 

diff -u rtems/testsuites/libtests/mathf/init.c:1.1 rtems/testsuites/libtests/mathf/init.c:1.2
--- rtems/testsuites/libtests/mathf/init.c:1.1	Wed Feb  2 07:57:48 2011
+++ rtems/testsuites/libtests/mathf/init.c	Mon Feb 14 14:50:46 2011
@@ -52,8 +52,7 @@
 
 #define CONFIGURE_MAXIMUM_TASKS           1
 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-
-#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 

diff -u rtems/testsuites/libtests/mathl/init.c:1.1 rtems/testsuites/libtests/mathl/init.c:1.2
--- rtems/testsuites/libtests/mathl/init.c:1.1	Wed Feb  2 07:58:02 2011
+++ rtems/testsuites/libtests/mathl/init.c	Mon Feb 14 14:50:46 2011
@@ -52,8 +52,7 @@
 
 #define CONFIGURE_MAXIMUM_TASKS           1
 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-
-#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 



--

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/20110214/af76b2fd/attachment-0001.html>


More information about the vc mailing list