CMakeLists.txt 632 字节
Newer Older
Z
zhangjinchao01 已提交
1 2 3 4
add_simple_unittest(test_CommandLineParser)
add_simple_unittest(test_Logging)
add_simple_unittest(test_Thread)
add_simple_unittest(test_StringUtils)
Y
Yu Yang 已提交
5
add_simple_unittest(test_CustomStackTrace)
L
liaogang 已提交
6
add_simple_unittest(test_ThreadBarrier)
7
add_simple_unittest(test_SpinLock)
L
liaogang 已提交
8
add_simple_unittest(test_SIMDFlags)
Y
Yu Yang 已提交
9 10 11 12 13 14

add_executable(
    test_CustomStackTracePrint
    test_CustomStackTracePrint.cpp
)
link_paddle_exe(test_CustomStackTracePrint)
15 16 17 18 19
if(NOT APPLE)
    add_test(NAME test_CustomStackTracePrint
        COMMAND ${PROJ_ROOT}/paddle/utils/tests/test_CustomStackTracePrint.sh
        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif()