[Glacier] Add a basic unit testing framework.

This commit is contained in:
Drew Galbraith 2024-01-11 16:09:37 -08:00
parent 83b0d9ab61
commit 09d902dfb5
7 changed files with 43 additions and 0 deletions

View file

@ -29,3 +29,7 @@ target_include_directories(glacier_kernel
set_target_properties(glacier_kernel PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS} -mcmodel=kernel -mgeneral-regs-only")
if (enable_testing)
add_subdirectory(test)
endif()