[Yunq] Add a basic yunq test into libyunq.
This commit is contained in:
parent
9c860dd6a4
commit
fecaa387b0
21 changed files with 189 additions and 936 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue