Searched refs:TEST_INST (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 21 #define TEST_INST DT_INST(0, vnd_gpio_device) macro 185 zassert_equal(DT_PROP(TEST_INST, gpio_controller), 1, ""); in ZTEST() 186 zassert_true(!strcmp(DT_PROP(TEST_INST, status), "okay") || in ZTEST() 187 !strcmp(DT_PROP(TEST_INST, status), "disabled"), ""); in ZTEST() 188 zassert_equal(DT_PROP_LEN(TEST_INST, compatible), 1, ""); in ZTEST() 189 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_INST, compatible, 0), in ZTEST() 196 !strcmp(DT_PROP(TEST_INST, status), "disabled"), ""); in ZTEST()
|