8 if(CUNIT_FOUND) |
8 if(CUNIT_FOUND) |
9 message(CHECK_PASS "found: compiling tests.") |
9 message(CHECK_PASS "found: compiling tests.") |
10 set(TESTS |
10 set(TESTS |
11 test_allocator |
11 test_allocator |
12 test_list |
12 test_list |
|
13 test_tree |
13 ) |
14 ) |
14 |
15 |
15 foreach(test ${TESTS}) |
16 foreach(test ${TESTS}) |
16 add_executable(${test} util_allocator.c ${test}.c) |
17 add_executable(${test} util_allocator.c ${test}.c) |
17 target_link_libraries(${test} PRIVATE ucx_static ${CUNIT_LIBRARY}) |
18 target_link_libraries(${test} PRIVATE ucx_static ${CUNIT_LIBRARY}) |