Home
last modified time | relevance | path

Searched refs:init_order (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/threads/no-multithreading/src/
Dmain.c85 if (init_order != IDX_##level && sys_init_result == 0) { \
89 init_order++; \
94 static int init_order; variable
101 zassert_equal(init_order, 3, "SYS_INIT failed: %d", init_order); in ZTEST()
/Zephyr-latest/tests/lib/devicetree/devices/src/
Dmain.c24 static device_handle_t init_order[10]; variable
30 __ASSERT_NO_MSG(init_idx < ARRAY_SIZE(init_order)); in dev_init()
31 init_order[init_idx++] = device_handle_get(dev); in dev_init()
103 zassert_equal(init_order[0], DEV_HDL(TEST_GPIO)); in ZTEST()
104 zassert_equal(init_order[1], DEV_HDL(TEST_I2C)); in ZTEST()
105 zassert_equal(init_order[2], DEV_HDL(TEST_DEVA)); in ZTEST()
106 zassert_equal(init_order[3], DEV_HDL(TEST_DEVB)); in ZTEST()
107 zassert_equal(init_order[4], DEV_HDL(TEST_GPIOX)); in ZTEST()
108 zassert_equal(init_order[5], DEV_HDL(TEST_DEVC)); in ZTEST()
109 zassert_equal(init_order[6], DEV_HDL(TEST_PARTITION)); in ZTEST()
[all …]