Commit 7649f5bd authored by Anas Nashif's avatar Anas Nashif Committed by Carles Cufi
Browse files

tests: ztest: use more verbose testname



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

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 7de0d6ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));
+2 −2
Original line number Diff line number Diff line
@@ -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));
+2 −2
Original line number Diff line number Diff line
@@ -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));