cmake gtest_discover_tests() examples

antlr/antlr4 runtime/Cpp/runtime/CMakeLists.txt :99

gtest_discover_tests(antlr4_tests)

WebAssembly/binaryen test/gtest/CMakeLists.txt :53

gtest_discover_tests(binaryen-unittests)

xissburg/edyn test/CMakeLists.txt :8

gtest_discover_tests(${TEST_NAME} PROPERTIES TIMEOUT 5)

facebook/folly build/fbcode_builder/CMake/FBPythonBinary.cmake :247

# test functions like gtest_discover_tests()

facebook/folly build/fbcode_builder/CMake/FBPythonBinary.cmake :298

# This logic is based on the code for gtest_discover_tests()

FreeCAD/FreeCAD tests/CMakeLists.txt :145

gtest_discover_tests(${exe})

google/highway CMakeLists.txt :956

gtest_discover_tests(${TESTNAME} TIMEOUT 60)

google/highway CMakeLists.txt :958

gtest_discover_tests(${TESTNAME} DISCOVERY_TIMEOUT 60)

InsightSoftwareConsortium/ITK CMake/ITKModuleTest.cmake :242

gtest_discover_tests(${exe} DISCOVERY_TIMEOUT 120)

KhronosGroup/KTX tests/tests.cmake :100

gtest_discover_tests(unittests
    TEST_PREFIX unittest.
    # With the 5s default we get periodic timeouts on Travis & GitHub CI.
    DISCOVERY_TIMEOUT 20
)

KhronosGroup/KTX tests/tests.cmake :105

gtest_discover_tests(texturetests
    TEST_PREFIX texturetest.
    DISCOVERY_TIMEOUT 20
    EXTRA_ARGS "${PROJECT_SOURCE_DIR}/tests/testimages/"
)

KhronosGroup/KTX tests/streamtests/CMakeLists.txt :37

gtest_discover_tests( streamtests
    TEST_PREFIX streamtest.
    # With the 5s default we get periodic timeouts on Travis & GitHub CI.
    DISCOVERY_TIMEOUT 20
    EXTRA_ARGS "${PROJECT_SOURCE_DIR}/tests/testimages/"
)

KhronosGroup/KTX tests/transcodetests/CMakeLists.txt :32

gtest_discover_tests( transcodetests
    TEST_PREFIX transcodetest.
    # With the 5s default we get periodic timeouts on Travis & GitHub CI.
    DISCOVERY_TIMEOUT 15
    EXTRA_ARGS "${PROJECT_SOURCE_DIR}/tests/testimages/"
)

libjxl/libjxl lib/jpegli.cmake :102

gtest_discover_tests(${TESTNAME} DISCOVERY_TIMEOUT 240)

libjxl/libjxl lib/jxl_tests.cmake :93

gtest_discover_tests(${TESTNAME} DISCOVERY_TIMEOUT 240)

intel/libvpl libvpl/test/unit/CMakeLists.txt :45

gtest_discover_tests(
  ${TARGET} PROPERTIES ENVIRONMENT
  ONEVPL_SEARCH_PATH=$<TARGET_FILE_DIR:vplstubrt> RESOURCE_LOCK
  DISPATCHER_LOG_FILE)

facebook/rocksdb CMakeLists.txt :1549

gtest_discover_tests(${exename} DISCOVERY_TIMEOUT 120)

Haivision/srt CMakeLists.txt :1588

gtest_discover_tests(test-srt)

LLNL/sundials test/unit_tests/arkode/gtest/CMakeLists.txt :45

gtest_discover_tests(test_arkode_error_handling)

LLNL/sundials test/unit_tests/cvode/gtest/CMakeLists.txt :46

gtest_discover_tests(test_cvode_error_handling)

LLNL/sundials test/unit_tests/cvodes/gtest/CMakeLists.txt :42

gtest_discover_tests(test_cvodes_error_handling)

LLNL/sundials test/unit_tests/ida/gtest/CMakeLists.txt :41

gtest_discover_tests(test_ida_error_handling)

LLNL/sundials test/unit_tests/idas/gtest/CMakeLists.txt :41

gtest_discover_tests(test_idas_error_handling)

LLNL/sundials test/unit_tests/kinsol/gtest/CMakeLists.txt :42

gtest_discover_tests(test_kinsol_error_handling)

LLNL/sundials test/unit_tests/sunadjointcheckpointscheme/CMakeLists.txt :34

gtest_discover_tests(${test})

LLNL/sundials test/unit_tests/sundials/CMakeLists.txt :34

gtest_discover_tests(${test})

TigerVNC/tigervnc tests/unit/CMakeLists.txt :13

gtest_discover_tests(configargs)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :17

gtest_discover_tests(conv)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :21

gtest_discover_tests(convertlf)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :25

gtest_discover_tests(gesturehandler)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :29

gtest_discover_tests(hostport)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :33

gtest_discover_tests(parameters)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :37

gtest_discover_tests(pixelformat)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :41

gtest_discover_tests(shortcuthandler)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :45

gtest_discover_tests(unicode)

TigerVNC/tigervnc tests/unit/CMakeLists.txt :50

gtest_discover_tests(emulatemb)

transmission/transmission tests/libtransmission/CMakeLists.txt :83

gtest_discover_tests(libtransmission-test
    TEST_PREFIX "LT.")

gnuradio/volk tests/CMakeLists.txt :39

gtest_discover_tests(volk_tests)

bytecodealliance/wasmtime crates/c-api/tests/CMakeLists.txt :16

gtest_discover_tests(test-${name}
  # GitHub Actions on Windows is pretty slow, let's give it lots more time
  # than the default 5 seconds.
  DISCOVERY_TIMEOUT 60)

xournalpp/xournalpp test/CMakeLists.txt :80

gtest_discover_tests(test-units
  DISCOVERY_TIMEOUT 30
  PROPERTIES
    ENVIRONMENT "${TEST_ENV_VARS}"
  $<$<NOT:$<STREQUAL:${TEST_GDK_PIXBUF_LOADER_CACHE},"">>:
    DEPENDS create-gdk-pixbuf-loader-cache>
)

xournalpp/xournalpp test/CMakeLists.txt :87

gtest_discover_tests(test-gtk-integration
        DISCOVERY_TIMEOUT 30
        PROPERTIES
        ENVIRONMENT "${TEST_ENV_VARS}"
        $<$<NOT:$<STREQUAL:${TEST_GDK_PIXBUF_LOADER_CACHE},"">>:
        DEPENDS create-gdk-pixbuf-loader-cache>
)