2011-09-26 Petr Benes <benesp16@fel.cvut.cz>

PR 1923/testing
	* score/src/schedulercbsgetexecutiontime.c: Improve coverage.
This commit is contained in:
Joel Sherrill
2011-09-27 00:58:42 +00:00
parent 7a752161b4
commit a7d04d6333
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-09-26 Petr Benes <benesp16@fel.cvut.cz>
PR 1923/testing
* score/src/schedulercbsgetexecutiontime.c: Improve coverage.
2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1921/cpukit
@@ -31,7 +31,7 @@ int _Scheduler_CBS_Get_execution_time (
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;
}