tests: rename TICKS_UNLIMITED -> K_FOREVER
Change-Id: I1d65c7a0302b2dda0bc23e38f94f7be51de0f917 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7bc4890202
commit
e5f150f0d9
3 changed files with 14 additions and 14 deletions
|
@ -40,7 +40,7 @@ average time for one iteration is displayed.
|
|||
TEST CASE: Semaphore #1
|
||||
TEST COVERAGE:
|
||||
k_sem_init
|
||||
k_sem_take(TICKS_UNLIMITED)
|
||||
k_sem_take(K_FOREVER)
|
||||
k_sem_give
|
||||
Starting test. Please wait...
|
||||
TEST RESULT: SUCCESSFUL
|
||||
|
@ -61,10 +61,10 @@ END TEST CASE
|
|||
TEST CASE: Semaphore #3
|
||||
TEST COVERAGE:
|
||||
k_sem_init
|
||||
k_sem_take(TICKS_UNLIMITED)
|
||||
k_sem_take(K_FOREVER)
|
||||
k_sem_give
|
||||
k_sem_give
|
||||
k_sem_take(TICKS_UNLIMITED)
|
||||
k_sem_take(K_FOREVER)
|
||||
Starting test. Please wait...
|
||||
TEST RESULT: SUCCESSFUL
|
||||
DETAILS: Average time for 1 iteration: NNNN nSec
|
||||
|
@ -141,7 +141,7 @@ END TEST CASE
|
|||
TEST CASE: Stack #1
|
||||
TEST COVERAGE:
|
||||
k_stack_init
|
||||
k_stack_pop(TICKS_UNLIMITED)
|
||||
k_stack_pop(K_FOREVER)
|
||||
k_stack_push
|
||||
Starting test. Please wait...
|
||||
TEST RESULT: SUCCESSFUL
|
||||
|
@ -151,7 +151,7 @@ END TEST CASE
|
|||
TEST CASE: Stack #2
|
||||
TEST COVERAGE:
|
||||
k_stack_init
|
||||
k_stack_pop(TICKS_UNLIMITED)
|
||||
k_stack_pop(K_FOREVER)
|
||||
k_stack_pop
|
||||
k_stack_push
|
||||
k_yield
|
||||
|
@ -163,9 +163,9 @@ END TEST CASE
|
|||
TEST CASE: Stack #3
|
||||
TEST COVERAGE:
|
||||
k_stack_init
|
||||
k_stack_pop(TICKS_UNLIMITED)
|
||||
k_stack_pop(K_FOREVER)
|
||||
k_stack_push
|
||||
k_stack_pop(TICKS_UNLIMITED)
|
||||
k_stack_pop(K_FOREVER)
|
||||
k_stack_push
|
||||
Starting test. Please wait...
|
||||
TEST RESULT: SUCCESSFUL
|
||||
|
|
|
@ -115,7 +115,7 @@ int sema_test(void)
|
|||
"Semaphore #1");
|
||||
fprintf(output_file, sz_description,
|
||||
"\n\tk_sem_init"
|
||||
"\n\tk_sem_take(TICKS_UNLIMITED)"
|
||||
"\n\tk_sem_take(K_FOREVER)"
|
||||
"\n\tk_sem_give");
|
||||
printf(sz_test_start_fmt);
|
||||
|
||||
|
@ -163,10 +163,10 @@ int sema_test(void)
|
|||
"Semaphore #3");
|
||||
fprintf(output_file, sz_description,
|
||||
"\n\tk_sem_init"
|
||||
"\n\tk_sem_take(TICKS_UNLIMITED)"
|
||||
"\n\tk_sem_take(K_FOREVER)"
|
||||
"\n\tk_sem_give"
|
||||
"\n\tk_sem_give"
|
||||
"\n\tk_sem_take(TICKS_UNLIMITED)");
|
||||
"\n\tk_sem_take(K_FOREVER)");
|
||||
printf(sz_test_start_fmt);
|
||||
|
||||
sema_test_init();
|
||||
|
|
|
@ -149,7 +149,7 @@ int stack_test(void)
|
|||
"Stack #1");
|
||||
fprintf(output_file, sz_description,
|
||||
"\n\tk_stack_init"
|
||||
"\n\tk_stack_pop(TICKS_UNLIMITED)"
|
||||
"\n\tk_stack_pop(K_FOREVER)"
|
||||
"\n\tk_stack_push");
|
||||
printf(sz_test_start_fmt);
|
||||
|
||||
|
@ -173,7 +173,7 @@ int stack_test(void)
|
|||
"Stack #2");
|
||||
fprintf(output_file, sz_description,
|
||||
"\n\tk_stack_init"
|
||||
"\n\tk_stack_pop(TICKS_UNLIMITED)"
|
||||
"\n\tk_stack_pop(K_FOREVER)"
|
||||
"\n\tk_stack_pop"
|
||||
"\n\tk_stack_push"
|
||||
"\n\tk_yield");
|
||||
|
@ -202,9 +202,9 @@ int stack_test(void)
|
|||
"Stack #3");
|
||||
fprintf(output_file, sz_description,
|
||||
"\n\tk_stack_init"
|
||||
"\n\tk_stack_pop(TICKS_UNLIMITED)"
|
||||
"\n\tk_stack_pop(K_FOREVER)"
|
||||
"\n\tk_stack_push"
|
||||
"\n\tk_stack_pop(TICKS_UNLIMITED)"
|
||||
"\n\tk_stack_pop(K_FOREVER)"
|
||||
"\n\tk_stack_push");
|
||||
printf(sz_test_start_fmt);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue