ulib/tests/CMakeLists.txt
tqcq 15fa29c4c5
Some checks failed
linux-x64-gcc / linux-gcc (push) Failing after 50s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 58s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m4s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m12s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m14s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m20s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m8s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m10s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m40s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m21s
feature add new test
2023-12-11 15:39:44 +08:00

14 lines
285 B
CMake

set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(ulib_test
ulib/base/types_test.cpp
ulib/log/log_test.cpp
)
target_link_libraries(ulib_test PRIVATE
ulib
gtest
gtest_main)
add_test(NAME ulib_test COMMAND ulib_test)