Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alph00 committed Jul 12, 2024
1 parent 4c13fb4 commit def1194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
10 changes: 2 additions & 8 deletions scripts/gen_build_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,14 @@ function generateCopyScript() {
echo 'docker cp "$id":/src/core/build/ilogtail $BINDIR' >>$COPY_SCRIPT_FILE
echo 'docker cp "$id":/src/core/build/go_pipeline/libPluginAdapter.so $BINDIR' >>$COPY_SCRIPT_FILE
fi
if [ $BUILD_LOGTAIL_NOSPL_UT = "ON" ]; then
echo 'docker cp "$id":/src/core/build core/build' >>$COPY_SCRIPT_FILE
fi
if [ $BUILD_LOGTAIL_SPL_UT = "ON" ]; then
if [ $BUILD_LOGTAIL_NOSPL_UT = "ON" -o $BUILD_LOGTAIL_SPL_UT = "ON" ]; then
echo 'docker cp "$id":/src/core/build core/build' >>$COPY_SCRIPT_FILE
fi
else
echo 'docker cp "$id":/src/'${OUT_DIR}'/libPluginBase.so $BINDIR' >>$COPY_SCRIPT_FILE
echo 'docker cp "$id":/src/core/build/ilogtail $BINDIR' >>$COPY_SCRIPT_FILE
echo 'docker cp "$id":/src/core/build/go_pipeline/libPluginAdapter.so $BINDIR' >>$COPY_SCRIPT_FILE
if [ $BUILD_LOGTAIL_NOSPL_UT = "ON" ]; then
echo 'docker cp "$id":/src/core/build core/build' >>$COPY_SCRIPT_FILE
fi
if [ $BUILD_LOGTAIL_SPL_UT = "ON"]; then
if [ $BUILD_LOGTAIL_NOSPL_UT = "ON" -o $BUILD_LOGTAIL_SPL_UT = "ON" ]; then
echo 'docker cp "$id":/src/core/build core/build' >>$COPY_SCRIPT_FILE
fi
fi
Expand Down
9 changes: 0 additions & 9 deletions scripts/run_core_ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,5 @@ search_files() {
# Maybe some unittest depend on relative paths, so execute in the unittest directory
UT_BASE_PATH="$(pwd)/${TARGET_ARTIFACT_PATH:2}"
export LD_LIBRARY_PATH=${UT_BASE_PATH}:$LD_LIBRARY_PATH
pwd
ls
cd ./core
pwd
ls
cd ./build
pwd
ls
cd ../..
cd $TARGET_ARTIFACT_PATH
search_files .

0 comments on commit def1194

Please sign in to comment.