Skip to content

Commit

Permalink
unittests: Set required LD_LIBRARY_PATH of unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 20, 2018
1 parent 09b5123 commit 7a70603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/lib/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ add_test(NAME test_lib
)

set_property(TEST test_lib
PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src/lib"
PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src/lib:${CMAKE_BINARY_DIR}/src/stored"
PROPERTY ENVIRONMENT "GTEST_COLOR=yes"
)

Expand Down Expand Up @@ -88,7 +88,7 @@ add_test(NAME test_bsock
)

set_property(TEST test_bsock
PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src/lib"
PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src/lib:${CMAKE_BINARY_DIR}/src/stored:${CMAKE_BINARY_DIR}/src/cats:${CMAKE_BINARY_DIR}/src/findlib:${CMAKE_BINARY_DIR}/src/lmdb:${CMAKE_BINARY_DIR}/src/ndmp"
PROPERTY ENVIRONMENT "GTEST_COLOR=yes"
)

Expand Down

0 comments on commit 7a70603

Please sign in to comment.