tests/benchmark/latency_measure: use TC_PRINT_RUNID when reporting success
In order to print the proper strings that the test case execution frameworks expect, use the macros defined in tc_util.h. Change-Id: I841c5454fbcf4f679e6285538e838f039442b1f8 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
parent
87845f3328
commit
7c4584c901
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
ccflags-y += -I$(CURDIR)/misc/generated/sysgen
|
||||
ccflags-y += -I$(ZEPHYR_BASE)/tests/benchmark/latency_measure/microkernel/src
|
||||
ccflags-y += -I$(ZEPHYR_BASE)/tests/benchmark/latency_measure/microkernel/src \
|
||||
-I${ZEPHYR_BASE}/tests/include
|
||||
|
||||
obj-y := fifo_b.o mailbox_b.o master.o mempool_b.o \
|
||||
nop_b.o pipe_r.o sema_r.o event_b.o \
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
_R : Is a file that contains the receiver task
|
||||
of a benchmark function
|
||||
*/
|
||||
|
||||
#include <tc_util.h>
|
||||
#include "master.h"
|
||||
|
||||
char Msg[MAX_MSG];
|
||||
|
@ -129,6 +129,7 @@ void BenchTask(void)
|
|||
output_file);
|
||||
PRINT_STRING(dashline, output_file);
|
||||
PRINT_STRING("PROJECT EXECUTION SUCCESSFUL\n",output_file);
|
||||
TC_PRINT_RUNID;
|
||||
} while (continuously && !kbhit());
|
||||
|
||||
WAIT_FOR_USER();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue