File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2323import shutil
2424import tempfile
2525import time
26+ import ssl
27+
28+ ssl ._create_default_https_context = ssl ._create_unverified_context
2629
2730LOG = logging .getLogger ("download" )
2831
Original file line number Diff line number Diff line change @@ -83,13 +83,17 @@ function run_pytest() {
8383 extra_args+=(" -n=$DEFAULT_PARALLELISM " )
8484 fi
8585
86+ if [ -f pytest_deselect_ids.txt ] ; then
87+ DESELECT_LIST=` cat pytest_deselect_ids.txt`
88+ fi
89+
8690 exit_code=0
8791 set +e
8892 TVM_FFI=${ffi_type} python3 -m pytest \
8993 -o " junit_suite_name=${suite_name} " \
9094 " --junit-xml=${TVM_PYTEST_RESULT_DIR} /${suite_name} .xml" \
9195 " --junit-prefix=${ffi_type} " \
92- " ${extra_args[@]} " || exit_code=$?
96+ " ${extra_args[@]} " ${DESELECT_LIST} || exit_code=$?
9397 # Pytest will return error code -5 if no test is collected.
9498 if [ " $exit_code " -ne " 0" ] && [ " $exit_code " -ne " 5" ]; then
9599 pytest_errors+=(" ${suite_name} : $@ " )
You can’t perform that action at this time.
0 commit comments