tests: ztest: use more verbose testname

Do not use 'test', use something more verbose for correct test output.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-04-04 11:52:37 +00:00 committed by Carles Cufí
commit 7649f5bd8c
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@
#include <zephyr/ztest.h>
#include "common.h"
static void test(void)
static void test_step_0(void)
{
}
@ -18,4 +18,4 @@ static bool predicate(const void *state)
return s->phase == PHASE_STEPS_0;
}
ztest_register_test_suite(test_step_0, predicate, ztest_unit_test(test));
ztest_register_test_suite(test_step_0, predicate, ztest_unit_test(test_step_0));

View file

@ -7,7 +7,7 @@
#include <zephyr/ztest.h>
#include "common.h"
static void test(void)
static void test_step_1(void)
{
}
@ -18,4 +18,4 @@ static bool predicate(const void *state)
return s->phase == PHASE_STEPS_1;
}
ztest_register_test_suite(test_step_1, predicate, ztest_unit_test(test));
ztest_register_test_suite(test_step_1, predicate, ztest_unit_test(test_step_1));

View file

@ -7,7 +7,7 @@
#include <zephyr/ztest.h>
#include "common.h"
static void test(void)
static void test_step_all(void)
{
}
@ -18,4 +18,4 @@ static bool predicate(const void *state)
return s->phase == PHASE_STEPS_0 || s->phase == PHASE_STEPS_1;
}
ztest_register_test_suite(test_step_all, predicate, ztest_unit_test(test));
ztest_register_test_suite(test_step_all, predicate, ztest_unit_test(test_step_all));