Skip to content

Commit 2e072ad

Browse files
ycsincarlescufi
authored andcommitted
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 <[email protected]>
1 parent af78efa commit 2e072ad

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

cmake/modules/unittest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ endforeach()
8181

8282
list(APPEND INCLUDE
8383
subsys/testsuite/ztest/include/zephyr
84+
subsys/testsuite/ztest/unittest/include
8485
subsys/testsuite/include/zephyr
8586
subsys/testsuite/ztest/include
8687
subsys/testsuite/include

0 commit comments

Comments
 (0)