mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Add Basic Tests
This commit is contained in:
parent
27286817db
commit
546c452755
7 changed files with 143 additions and 42 deletions
|
@ -1,5 +1,11 @@
|
|||
|
||||
add_executable(chiaki-test
|
||||
main.c)
|
||||
add_library(munit "${CMAKE_CURRENT_SOURCE_DIR}/munit/munit.c")
|
||||
target_include_directories(munit PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/munit")
|
||||
|
||||
target_link_libraries(chiaki-test chiaki-lib)
|
||||
add_executable(chiaki-unit
|
||||
main.c
|
||||
http.c)
|
||||
|
||||
target_link_libraries(chiaki-unit chiaki-lib munit)
|
||||
|
||||
add_test(unit chiaki-unit)
|
Loading…
Add table
Add a link
Reference in a new issue