Searched refs:TEST_ARRAYS (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 22 #define TEST_ARRAYS DT_NODELABEL(test_arrays) macro 111 #define TA_HAS_COMPAT(compat) DT_NODE_HAS_COMPAT(TEST_ARRAYS, compat) 1605 static int a[] = DT_PROP(TEST_ARRAYS, a); 1606 static unsigned char b[] = DT_PROP(TEST_ARRAYS, b); 1607 static char *c[] = DT_PROP(TEST_ARRAYS, c); 1621 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 0), ""); in ZTEST() 1622 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 1), ""); in ZTEST() 1623 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 2), ""); in ZTEST() 1624 zassert_false(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 3), ""); in ZTEST() 1632 COND_CODE_1(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 0), (ok = 1;), ()); in ZTEST() [all …]
|