ztest: add support for new and legacy include paths
The ztest unittest module relies on some headers that fake the real ones, e.g. <zephyr/arch/cpu.h>. When new header location was introduced, their path was not updates. This patch fixes this problem and provides ztest with both, legacy and new include paths so that it can keep working on both scenarios. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
ade7ccb918
commit
a4eac53b9e
2 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ add_dependencies(testbinary ${KOBJ_TYPES_H_TARGET})
|
||||||
gen_kobj(KOBJ_GEN_DIR)
|
gen_kobj(KOBJ_GEN_DIR)
|
||||||
|
|
||||||
list(APPEND INCLUDE
|
list(APPEND INCLUDE
|
||||||
|
subsys/testsuite/ztest/include/zephyr
|
||||||
subsys/testsuite/ztest/include
|
subsys/testsuite/ztest/include
|
||||||
subsys/testsuite/include
|
subsys/testsuite/include
|
||||||
include/zephyr
|
include/zephyr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue