Home
last modified time | relevance | path

Searched refs:exp_state (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/boards/nrf/mram_latency/src/
Dmain.c50 uint32_t exp_state; in ZTEST() local
57 exp_state = ONOFF_STATE_OFF; in ZTEST()
60 zassert_equal(rv, exp_state, "Unexpected rv:%d (exp:%d)", rv, exp_state); in ZTEST()
63 exp_state = ONOFF_STATE_TO_ON; in ZTEST()
66 zassert_equal(rv, exp_state, "Unexpected rv:%d (exp:%d)", rv, exp_state); in ZTEST()
78 exp_state = ONOFF_STATE_ON; in ZTEST()
81 zassert_equal(rv, exp_state, "Unexpected rv:%d (exp:%d)", rv, exp_state); in ZTEST()
85 zassert_equal(rv, exp_state, "Unexpected rv:%d (exp:%d)", rv, exp_state); in ZTEST()
88 exp_state = ONOFF_STATE_OFF; in ZTEST()
92 zassert_equal(rv, exp_state, "Unexpected rv:%d (exp:%d)", rv, exp_state); in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c122 #define state_verify(dev, exp_state) do {\ argument
126 zassert_equal(power_state, exp_state); \
133 enum pm_device_state prev_state, exp_state; in action_run() local
144 exp_state = PM_DEVICE_STATE_SUSPENDED; in action_run()
147 exp_state = PM_DEVICE_STATE_ACTIVE; in action_run()
150 exp_state = prev_state; in action_run()
154 exp_state = prev_state; in action_run()
157 state_verify(dev, exp_state); in action_run()
/Zephyr-latest/scripts/tests/twister/
Dtest_harness.py475 tmp_path, line_type, ordered_val, exp_state, line, exp_fault, exp_capture argument
521 assert console.status == exp_state