change log for rtems (2011-09-26)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Sep 27 01:11:54 UTC 2011


 *joel*:
2011-09-26	Petr Benes <benesp16 at fel.cvut.cz>

	PR 1923/testing
	* score/src/schedulercbsgetexecutiontime.c: Improve coverage.

M 1.2926  cpukit/ChangeLog
M    1.2  cpukit/score/src/schedulercbsgetexecutiontime.c

diff -u rtems/cpukit/ChangeLog:1.2925 rtems/cpukit/ChangeLog:1.2926
--- rtems/cpukit/ChangeLog:1.2925	Sat Sep 24 07:45:55 2011
+++ rtems/cpukit/ChangeLog	Mon Sep 26 19:58:42 2011
@@ -1,3 +1,8 @@
+2011-09-26	Petr Benes <benesp16 at fel.cvut.cz>
+
+	PR 1923/testing
+	* score/src/schedulercbsgetexecutiontime.c: Improve coverage.
+
 2011-09-24	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	PR 1921/cpukit

diff -u rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.1 rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.2
--- rtems/cpukit/score/src/schedulercbsgetexecutiontime.c:1.1	Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsgetexecutiontime.c	Mon Sep 26 19:58:42 2011
@@ -31,7 +31,7 @@
     return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
   if ( !_Scheduler_CBS_Server_list[server_id] )
     return SCHEDULER_CBS_ERROR_NOSERVER;
-  if ( !_Scheduler_CBS_Server_list[server_id]->task_id ) {
+  if ( _Scheduler_CBS_Server_list[server_id]->task_id == -1 ) {
     *exec_time = 0;
     return SCHEDULER_CBS_OK;
   }


 *joel*:
2011-09-26	Petr Benes <benesp16 at fel.cvut.cz>

	PR 1923/testing
	* spcbssched02/spcbssched02.scn, spcbssched02/system.h,
	spcbssched03/init.c, spcbssched03/system.h, spedfsched02/system.h,
	spedfsched03/system.h, sprbtree01/init.c: Improve coverage.

M  1.488  testsuites/sptests/ChangeLog
M    1.3  testsuites/sptests/spcbssched02/spcbssched02.scn
M    1.3  testsuites/sptests/spcbssched02/system.h
M    1.2  testsuites/sptests/spcbssched03/init.c
M    1.2  testsuites/sptests/spcbssched03/system.h
M    1.2  testsuites/sptests/spedfsched02/system.h
M    1.3  testsuites/sptests/spedfsched03/system.h
M    1.7  testsuites/sptests/sprbtree01/init.c

diff -u rtems/testsuites/sptests/ChangeLog:1.487 rtems/testsuites/sptests/ChangeLog:1.488
--- rtems/testsuites/sptests/ChangeLog:1.487	Tue Sep 20 08:06:58 2011
+++ rtems/testsuites/sptests/ChangeLog	Mon Sep 26 19:59:30 2011
@@ -1,3 +1,10 @@
+2011-09-26	Petr Benes <benesp16 at fel.cvut.cz>
+
+	PR 1923/testing
+	* spcbssched02/spcbssched02.scn, spcbssched02/system.h,
+	spcbssched03/init.c, spcbssched03/system.h, spedfsched02/system.h,
+	spedfsched03/system.h, sprbtree01/init.c: Improve coverage.
+
 2011-09-20	Petr Benes <benesp16 at fel.cvut.cz>
 
 	PR 1916/testing

diff -u rtems/testsuites/sptests/spcbssched02/spcbssched02.scn:1.2 rtems/testsuites/sptests/spcbssched02/spcbssched02.scn:1.3
--- rtems/testsuites/sptests/spcbssched02/spcbssched02.scn:1.2	Tue Sep 20 08:06:58 2011
+++ rtems/testsuites/sptests/spcbssched02/spcbssched02.scn	Mon Sep 26 19:59:30 2011
@@ -18,14 +18,23 @@
 Periodic task: Set parameters
 Periodic task: Approved budget
 Periodic task: Starting periodic behavior
+Periodic task: Starting periodic behavior
 P1-S ticks:1
 P1-F ticks:11
+P2-S ticks:11
+P2-F ticks:21
 P1-S ticks:31
 P1-F ticks:41
+P2-S ticks:41
+P2-F ticks:51
 P1-S ticks:61
 P1-F ticks:71
+P2-S ticks:71
+P2-F ticks:81
 P1-S ticks:91
 P1-F ticks:101
+P2-S ticks:101
+P2-F ticks:111
 P1-S ticks:121
 Periodic task: Deleting self
 Init: Checking server with a deleted task

diff -u rtems/testsuites/sptests/spcbssched02/system.h:1.2 rtems/testsuites/sptests/spcbssched02/system.h:1.3
--- rtems/testsuites/sptests/spcbssched02/system.h:1.2	Tue Sep 20 08:06:58 2011
+++ rtems/testsuites/sptests/spcbssched02/system.h	Mon Sep 26 19:59:30 2011
@@ -30,7 +30,7 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
-#define CONFIGURE_MICROSECONDS_PER_TICK 100000
+#define CONFIGURE_MICROSECONDS_PER_TICK 20000
 
 #define CONFIGURE_MAXIMUM_TASKS               3
 #define CONFIGURE_MAXIMUM_PERIODS             10

diff -u rtems/testsuites/sptests/spcbssched03/init.c:1.1 rtems/testsuites/sptests/spcbssched03/init.c:1.2
--- rtems/testsuites/sptests/spcbssched03/init.c:1.1	Thu Sep 15 10:56:01 2011
+++ rtems/testsuites/sptests/spcbssched03/init.c	Mon Sep 26 19:59:30 2011
@@ -58,6 +58,8 @@
     directive_failed( status, "rtems_task_start loop" );
   }
 
+  rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+
   status = rtems_task_delete( RTEMS_SELF );
   directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
 }

diff -u rtems/testsuites/sptests/spcbssched03/system.h:1.1 rtems/testsuites/sptests/spcbssched03/system.h:1.2
--- rtems/testsuites/sptests/spcbssched03/system.h:1.1	Thu Sep 15 10:56:01 2011
+++ rtems/testsuites/sptests/spcbssched03/system.h	Mon Sep 26 19:59:30 2011
@@ -34,13 +34,13 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
-#define CONFIGURE_MICROSECONDS_PER_TICK 100000
+#define CONFIGURE_MICROSECONDS_PER_TICK 20000
 
 #define CONFIGURE_MAXIMUM_TASKS               7
 #define CONFIGURE_MAXIMUM_PERIODS             10
 
 #define CONFIGURE_INIT_TASK_PRIORITY          100
-#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
+#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_NO_PREEMPT
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
 #define CONFIGURE_EXTRA_TASK_STACKS         (6 * 4 * RTEMS_MINIMUM_STACK_SIZE)

diff -u rtems/testsuites/sptests/spedfsched02/system.h:1.1 rtems/testsuites/sptests/spedfsched02/system.h:1.2
--- rtems/testsuites/sptests/spedfsched02/system.h:1.1	Sun Sep 11 15:56:45 2011
+++ rtems/testsuites/sptests/spedfsched02/system.h	Mon Sep 26 19:59:30 2011
@@ -38,7 +38,7 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
-#define CONFIGURE_MICROSECONDS_PER_TICK 100000
+#define CONFIGURE_MICROSECONDS_PER_TICK 20000
 
 #define CONFIGURE_MAXIMUM_TASKS               7
 #define CONFIGURE_MAXIMUM_PERIODS             10

diff -u rtems/testsuites/sptests/spedfsched03/system.h:1.2 rtems/testsuites/sptests/spedfsched03/system.h:1.3
--- rtems/testsuites/sptests/spedfsched03/system.h:1.2	Tue Sep 20 08:06:58 2011
+++ rtems/testsuites/sptests/spedfsched03/system.h	Mon Sep 26 19:59:30 2011
@@ -34,7 +34,7 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
-#define CONFIGURE_MICROSECONDS_PER_TICK 100000
+#define CONFIGURE_MICROSECONDS_PER_TICK 20000
 
 #define CONFIGURE_MAXIMUM_TASKS               7
 #define CONFIGURE_MAXIMUM_PERIODS             10

diff -u rtems/testsuites/sptests/sprbtree01/init.c:1.6 rtems/testsuites/sptests/sprbtree01/init.c:1.7
--- rtems/testsuites/sptests/sprbtree01/init.c:1.6	Sun Aug 21 15:07:23 2011
+++ rtems/testsuites/sptests/sprbtree01/init.c	Mon Sep 26 19:59:30 2011
@@ -465,6 +465,8 @@
     puts ( "INIT - ERROR ON RBTREE NULL GRANDPARENT MISMATCH" );
   if ( _RBTree_Is_red( NULL ) != 0 )
     puts ( "INIT - ERROR ON RBTREE NULL IS RED MISMATCH" );
+  if ( _RBTree_Is_red( rbtree1.root ) != 0 )
+    puts ( "INIT - ERROR ON RBTREE NULL IS RED MISMATCH" );
 
   puts( "INIT - Removing 100 nodes" );
 



--

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/20110926/a0525deb/attachment.html>


More information about the vc mailing list