From 6d0fb000b01b96a7c8bbe18f940f466a166d8df2 Mon Sep 17 00:00:00 2001 From: tqchen Date: Tue, 1 Sep 2020 19:07:58 -0700 Subject: [PATCH] [CI] Fix error guard that was missed in VTA. This PR fixes an error guard during the documentation build step. - Temporary disables VTA frontend tutorial due to the regression of deploy_detection --- docs/conf.py | 2 +- tests/scripts/task_python_docs.sh | 3 ++- vta/tutorials/frontend/README.txt | 4 ---- 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 vta/tutorials/frontend/README.txt diff --git a/docs/conf.py b/docs/conf.py index c03f1b7700797..a046f4e767a6a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -195,7 +195,7 @@ '../tutorials/topi', '../tutorials/deployment', '../tutorials/micro', - '../vta/tutorials/frontend', + # '../vta/tutorials/frontend', '../vta/tutorials/optimize', '../vta/tutorials/autotvm']) diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index c239abb7bc9d7..29166c627663a 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -18,6 +18,7 @@ set -e set -u +set -o pipefail source tests/scripts/setup-pytest-env.sh @@ -48,7 +49,7 @@ make cython3 cd docs PYTHONPATH=`pwd`/../python make html |& tee /tmp/$$.log.txt -if grep -E "failed to execute" < /tmp/$$.log.txt; then +if grep -E "failed to execute|Segmentation fault" < /tmp/$$.log.txt; then echo "Some of sphinx-gallery item example failed to execute." exit 1 fi diff --git a/vta/tutorials/frontend/README.txt b/vta/tutorials/frontend/README.txt deleted file mode 100644 index 7adec27a9bc05..0000000000000 --- a/vta/tutorials/frontend/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -.. _vta-tutorial-frontend: - -Compile Deep Learning Models -----------------------------