tests: move test timeutil into "unit" directory.

We don't have to build an image for running test timeutil. We
can just build a native app to test it. So move it into "unit"
directory.

Also, add 64-bit support for unit testing framework.

Signed-off-by: Steven Wang <steven.l.wang@linux.intel.com>
This commit is contained in:
Steven Wang 2019-10-14 22:23:18 +08:00 committed by Anas Nashif
commit 3cb03efd9c
11 changed files with 72 additions and 62 deletions

View file

@ -36,7 +36,13 @@ list(APPEND INCLUDE
if(CMAKE_HOST_APPLE)
else()
if(M64_MODE)
set (CMAKE_C_FLAGS "-m64")
else()
set (CMAKE_C_FLAGS "-m32") #deprecated on macOS
endif(M64_MODE)
endif()
target_compile_options(testbinary PRIVATE