Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alph00 committed Jun 28, 2024
1 parent 76ea503 commit b3ec2c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions core/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ if (MSVC)
endif ()
if (LINUX AND WITHOUTSPL)
add_library(${PROJECT_NAME} SHARED ${UNIX_SOURCE_FILES})
# file(GLOB BASE_SO ${CMAKE_SOURCE_DIR}/build/unittest/lib${PROJECT_NAME}.so)
# file(COPY ${BASE_SO} DESTINATION ${DEPS_LIBRARY_ROOT})
else ()
add_library(${PROJECT_NAME} STATIC ${UNIX_SOURCE_FILES})
endif()
Expand Down
5 changes: 0 additions & 5 deletions scripts/run_core_ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ search_files() {
}

# Maybe some unittest depend on relative paths, so execute in the unittest directory
cd ./core/build/unittest
ls
cd -
pwd
UT_BASE_PATH="$(pwd)/${TARGET_ARTIFACT_PATH:2}"
export LD_LIBRARY_PATH=${UT_BASE_PATH}:$LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
cd $TARGET_ARTIFACT_PATH
search_files .

0 comments on commit b3ec2c8

Please sign in to comment.