test: auto test script supports python3
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# py2_incomp='assign_test|nvs_compatible_test|IT'
|
||||
# - auto_test_script do not support python2 anymore
|
||||
# but there are still some jobs incompatible with Python 3 (eg: example_test)
|
||||
# keep the default python interpreter as 2.7.15 until all the jobs support python3
|
||||
|
||||
# Regexp for matching job names which are incompatible with Python 3
|
||||
# - assign_test, nvs_compatible_test, IT - auto_test_script causes the incompatibility
|
||||
# - UT_009_ - multi-device tests are not compatible
|
||||
# - UT_014_ - multi-device tests are not compatible
|
||||
# - UT_017_ - multi-device tests are not compatible
|
||||
py3_incomp='assign_test|nvs_compatible_test|IT|UT_009_|UT_013_|UT_014_|UT_017_'
|
||||
py3_incomp='UT_009_|UT_013_|UT_014_|UT_017_'
|
||||
|
||||
if [ -z ${PYTHON_VER+x} ] || [[ $CI_JOB_NAME =~ $py3_incomp ]]; then
|
||||
# Use this version of the Python interpreter if it was not defined before or
|
||||
|
||||
Reference in New Issue
Block a user