add mac tests failed exitcode (#26611)

revert-26856-strategy_example2
zhangchunle 5 years ago committed by GitHub
parent c1f5df5269
commit ef317b4b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save