Initial commit
This commit is contained in:
10
test/CMakeLists.txt
Normal file
10
test/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
find_package(cmocka REQUIRED)
|
||||
|
||||
add_executable(test_arena test_arena.c)
|
||||
|
||||
target_link_libraries(test_arena
|
||||
arena_lib
|
||||
cmocka::cmocka
|
||||
)
|
||||
|
||||
add_test(NAME arena_tests COMMAND test_arena)
|
||||
6
test/test_arena.c
Normal file
6
test/test_arena.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "arena.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user