CMakeLists.txt 521 字节
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 6 7 8 9 10 11
add_simple_unittest(test_CustomStackTrace)

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