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:
parent
7de0d6efcf
commit
7649f5bd8c
3 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
#include <zephyr/ztest.h>
|
#include <zephyr/ztest.h>
|
||||||
#include "common.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;
|
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));
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <zephyr/ztest.h>
|
#include <zephyr/ztest.h>
|
||||||
#include "common.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;
|
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));
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <zephyr/ztest.h>
|
#include <zephyr/ztest.h>
|
||||||
#include "common.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;
|
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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue