tests: ztest: zexpect: include source file directly in main.cpp
The main.cpp was introduced as a symbolic link of main.c but this makes the test build failure on Windows, so just remove the symlink and include directly the source Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
This commit is contained in:
parent
d4b0c48892
commit
b70c5deb04
2 changed files with 1 additions and 3 deletions
|
@ -15,7 +15,5 @@ else()
|
||||||
target_sources(app PRIVATE src/main.cpp)
|
target_sources(app PRIVATE src/main.cpp)
|
||||||
else()
|
else()
|
||||||
target_sources(app PRIVATE src/main.c)
|
target_sources(app PRIVATE src/main.c)
|
||||||
|
|
||||||
target_sources_ifdef(CONFIG_USERSPACE app PRIVATE src/main_userspace.c)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
main.c
|
|
1
tests/ztest/zexpect/src/main.cpp
Normal file
1
tests/ztest/zexpect/src/main.cpp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include "main.c"
|
Loading…
Add table
Add a link
Reference in a new issue