|
|
@ -529,13 +529,16 @@ EOF
|
|
|
|
pip3.7 install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
|
|
|
|
pip3.7 install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
ut_startTime_s=`date +%s`
|
|
|
|
ut_startTime_s=`date +%s`
|
|
|
|
ctest --output-on-failure -j $2
|
|
|
|
ctest --output-on-failure -j $2;mactest_error=$?
|
|
|
|
ut_endTime_s=`date +%s`
|
|
|
|
ut_endTime_s=`date +%s`
|
|
|
|
echo "Mac testCase Time: $[ $ut_endTime_s - $ut_startTime_s ]s"
|
|
|
|
echo "Mac testCase Time: $[ $ut_endTime_s - $ut_startTime_s ]s"
|
|
|
|
paddle version
|
|
|
|
paddle version
|
|
|
|
# Recovery proxy to avoid failure in later steps
|
|
|
|
# Recovery proxy to avoid failure in later steps
|
|
|
|
export http_proxy=$my_proxy
|
|
|
|
export http_proxy=$my_proxy
|
|
|
|
export https_proxy=$my_proxy
|
|
|
|
export https_proxy=$my_proxy
|
|
|
|
|
|
|
|
if [ "$mactest_error" != 0 ];then
|
|
|
|
|
|
|
|
exit 8;
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|