test/CMakeLists.txt

changeset 511
a32e6a6b1ca7
parent 510
133ac0f8f3fc
child 512
096d206b63f9
     1.1 --- a/test/CMakeLists.txt	Fri Apr 15 21:28:51 2022 +0200
     1.2 +++ b/test/CMakeLists.txt	Sat Apr 16 08:49:31 2022 +0200
     1.3 @@ -9,7 +9,6 @@
     1.4  if (CUNIT_FOUND)
     1.5      message(CHECK_PASS "found: compiling tests.")
     1.6      set(TESTS
     1.7 -            test_allocator
     1.8              test_list
     1.9              test_tree
    1.10      )
    1.11 @@ -41,9 +40,10 @@
    1.12  
    1.13  set(TESTS
    1.14          selftest
    1.15 +        test_allocator
    1.16          )
    1.17  foreach (test ${TESTS})
    1.18      add_executable(${test} ${test}.cpp)
    1.19      target_link_libraries(${test} PRIVATE ucx_static gtest_main)
    1.20 +    gtest_discover_tests(${test})
    1.21  endforeach ()
    1.22 -gtest_discover_tests(${TESTS})

mercurial