[Yunq] Add a basic yunq test into libyunq.

This commit is contained in:
Drew Galbraith 2024-01-16 18:58:03 -08:00
parent 9c860dd6a4
commit fecaa387b0
21 changed files with 189 additions and 936 deletions

View file

@ -1,10 +1,2 @@
find_package(Catch2 3 REQUIRED)
find_program(MEMORYCHECK_COMMAND valgrind)
set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full")
add_subdirectory(container)
add_custom_target(build_test)
add_dependencies(build_test
glc_vec_test)

View file

@ -2,3 +2,7 @@ add_executable(glc_vec_test vector.cpp)
target_link_libraries(glc_vec_test glacier Catch2::Catch2WithMain)
target_include_directories(glc_vec_test PRIVATE "../..")
add_test(NAME glc_vec_test COMMAND $<TARGET_FILE:glc_vec_test>)
add_dependencies(build_test
glc_vec_test)