Commit 2e072ad0 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Carles Cufi
Browse files

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: default avatarYong Cong Sin <ycsin@meta.com>
parent af78efaa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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