feat update unittest
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 1m15s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 1m14s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 1m16s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 1m28s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m17s
linux-x64-gcc / linux-gcc (push) Failing after 3m18s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 7m41s
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 1m15s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 1m14s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 1m16s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 1m28s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m17s
linux-x64-gcc / linux-gcc (push) Failing after 3m18s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 7m41s
This commit is contained in:
parent
1210282c7b
commit
e1d99b3a49
@ -83,7 +83,7 @@ target_sources(${PROJECT_NAME} PRIVATE
|
|||||||
src/ulib/log/log.cpp
|
src/ulib/log/log.cpp
|
||||||
src/ulib/log/level.cpp
|
src/ulib/log/level.cpp
|
||||||
)
|
)
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static)
|
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static sqlpp11::sqlpp11)
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
|
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
|
||||||
target_include_directories(${PROJECT_NAME} PUBLIC
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
3party/inja
|
3party/inja
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
#include <sqlpp11/select.h>
|
||||||
|
#include <sqlpp11/alias_provider.h>
|
||||||
|
|
||||||
|
TEST(sqlpp11, select) { select(sqlpp::value(false).as(sqlpp::alias::a)); }
|
||||||
|
@ -14,6 +14,7 @@ add_executable(ulib_test
|
|||||||
ulib/system/timer_unittest.cpp
|
ulib/system/timer_unittest.cpp
|
||||||
3party/inja/inja_unittest.cpp
|
3party/inja/inja_unittest.cpp
|
||||||
3party/optional/optional_unittest.cpp
|
3party/optional/optional_unittest.cpp
|
||||||
|
3party/sqlpp11/sqlpp11_unittest.cpp
|
||||||
ulib/utils/defer_unittest.cpp
|
ulib/utils/defer_unittest.cpp
|
||||||
)
|
)
|
||||||
target_link_libraries(ulib_test PRIVATE
|
target_link_libraries(ulib_test PRIVATE
|
||||||
|
Loading…
Reference in New Issue
Block a user