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:
parent
41a0e762ed
commit
3cb03efd9c
11 changed files with 72 additions and 62 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue