未验证 提交 c5e1187a 编写于 作者: X Xin Pan 提交者: GitHub

Merge pull request #10543 from panyx0718/revert

Revert "CI: rerun failed tests. (#10536)"
......@@ -100,14 +100,7 @@ function run_test() {
Running unit tests ...
========================================
EOF
set +e
ctest --output-on-failure
if [ $? != 0 ]; then
set -e
ctest --output-on-failure --rerun-failed
set +e
fi
set -e
# make install should also be test when unittest
make install -j `nproc`
pip install /usr/local/opt/paddle/share/wheels/*.whl
......
......@@ -299,14 +299,7 @@ function run_test() {
Running unit tests ...
========================================
EOF
set +e
ctest --output-on-failure
if [ $? != 0 ]; then
set -e
ctest --output-on-failure --rerun-failed
set +e
fi
set -e
# make install should also be test when unittest
make install -j `nproc`
pip install /usr/local/opt/paddle/share/wheels/*.whl
......@@ -474,7 +467,6 @@ EOF
}
function main() {
set -e
local CMD=$1
init
case $CMD in
......
......@@ -59,7 +59,7 @@ EOL
if [ ! -d "${HOME}/.ccache" ]; then
mkdir ${HOME}/.ccache
fi
set -ex
set -x
${DOCKER_CMD} run -it \
--name $CONTAINER_ID \
${DOCKER_ENV} \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册