diff --git a/tools/serving_build.sh b/tools/serving_build.sh index e804766cf5dc25ee896a81782e0afbd7cfc0f58b..bdafd925f06f8f1e092ee011c8487e3b82579da4 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -200,6 +200,7 @@ function python_run_criteo_ctr_with_cube() { local TYPE=$1 yum install -y bc >/dev/null cd criteo_ctr_with_cube # pwd: /Serving/python/examples/criteo_ctr_with_cube + export SERVING_BIN=${SERVING_WORKDIR}/build-server-${TYPE}/core/general-server/serving case $TYPE in CPU) check_cmd "wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz" @@ -260,6 +261,7 @@ function python_run_criteo_ctr_with_cube() { exit 1 ;; esac + unset SERVING_BIN echo "test criteo_ctr_with_cube $TYPE part finished as expected." cd .. # pwd: /Serving/python/examples }