Add tests to selftest

This commit is contained in:
Joseph Henry
2021-03-16 13:44:21 -07:00
parent d136d86263
commit b8c75c2d1b
4 changed files with 264 additions and 13 deletions

View File

@@ -720,7 +720,7 @@ endif()
# -----------------------------------------------------------------------------
if(BUILD_HOST_SELFTEST)
add_executable(selftest ${PROJ_DIR}/test/selftest.cpp)
add_executable(selftest ${PROJ_DIR}/test/selftest.c)
target_link_libraries(selftest ${STATIC_LIB_NAME})
project(TEST)
enable_testing()