ztest: include: unittest: relocate cpu.h and include only if unit-test

The `cpu.h` is meant to be a hack around Zephyr's dependencies
for unit-test, relocate it to a folder that's included only by
unit-test.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-04-11 17:23:50 +08:00 committed by Carles Cufí
commit 2e072ad017
2 changed files with 1 additions and 0 deletions

View file

@ -81,6 +81,7 @@ endforeach()
list(APPEND INCLUDE
subsys/testsuite/ztest/include/zephyr
subsys/testsuite/ztest/unittest/include
subsys/testsuite/include/zephyr
subsys/testsuite/ztest/include
subsys/testsuite/include