Skip to content

Commit e03fa82

Browse files
committed
[CI] Qualcomm Adreno CI hacks.
1 parent 30b7b1c commit e03fa82

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

python/tvm/contrib/download.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
import shutil
2424
import tempfile
2525
import time
26+
import ssl
27+
28+
ssl._create_default_https_context = ssl._create_unverified_context
2629

2730
LOG = logging.getLogger("download")
2831

tests/scripts/setup-pytest-env.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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}: $@")

0 commit comments

Comments
 (0)