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:
Dat Nguyen Duy 2023-08-15 18:19:51 +07:00 committed by Anas Nashif
commit b70c5deb04
2 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,5 @@ else()
target_sources(app PRIVATE src/main.cpp)
else()
target_sources(app PRIVATE src/main.c)
target_sources_ifdef(CONFIG_USERSPACE app PRIVATE src/main_userspace.c)
endif()
endif()

View file

@ -1 +0,0 @@
main.c

View file

@ -0,0 +1 @@
#include "main.c"