2016-08-22 10:19:08 +00:00
|
|
|
stages:
|
|
|
|
- build
|
2017-05-05 12:20:31 +00:00
|
|
|
- assign_test
|
2018-06-25 02:33:59 +00:00
|
|
|
- host_test
|
2016-11-01 11:30:42 +00:00
|
|
|
- unit_test
|
2018-06-25 02:33:59 +00:00
|
|
|
- integration_test
|
2018-08-13 02:35:11 +00:00
|
|
|
- check
|
2016-08-22 10:19:08 +00:00
|
|
|
- deploy
|
|
|
|
|
2017-06-07 01:58:35 +00:00
|
|
|
variables:
|
2017-06-12 07:22:09 +00:00
|
|
|
# System environment
|
|
|
|
|
2017-06-07 07:42:36 +00:00
|
|
|
# Common parameters for the 'make' during CI tests
|
|
|
|
MAKEFLAGS: "-j5 --no-keep-going"
|
|
|
|
|
2017-06-12 07:22:09 +00:00
|
|
|
# GitLab-CI environment
|
|
|
|
|
|
|
|
# more attempts for more robust
|
|
|
|
GET_SOURCES_ATTEMPTS: "10"
|
|
|
|
ARTIFACT_DOWNLOAD_ATTEMPTS: "10"
|
|
|
|
|
2017-06-14 07:52:33 +00:00
|
|
|
# We use get_sources.sh script to fetch the submodules and/or re-fetch the repo
|
|
|
|
# if it was corrupted (if submodule update fails this can happen)
|
|
|
|
GIT_STRATEGY: fetch
|
|
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
|
|
|
2017-06-07 07:42:36 +00:00
|
|
|
# IDF environment
|
2017-06-12 07:22:09 +00:00
|
|
|
|
2017-06-07 01:58:35 +00:00
|
|
|
IDF_PATH: "$CI_PROJECT_DIR"
|
2018-03-27 05:13:35 +00:00
|
|
|
BATCH_BUILD: "1"
|
|
|
|
V: "0"
|
2017-10-18 11:53:10 +00:00
|
|
|
APPLY_BOT_FILTER_SCRIPT: "$CI_PROJECT_DIR/tools/ci/apply_bot_filter.py"
|
|
|
|
CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
|
|
|
|
|
2018-06-08 11:41:18 +00:00
|
|
|
# When 'fetch' strategy is used, Gitlab removes untracked files before checking out
|
|
|
|
# new revision. However if the new revision doesn't include some of the submodules
|
|
|
|
# which were present in the old revision, such submodule directories would not be
|
|
|
|
# removed by the checkout. This extra step ensures that these stale submodules
|
|
|
|
# are removed.
|
|
|
|
.git_clean_stale_submodules: &git_clean_stale_submodules >
|
|
|
|
find . -name '.git' -not -path './.git' -printf '%P\n'
|
|
|
|
| sed 's|/.git||'
|
|
|
|
| xargs -I {} sh -c '
|
|
|
|
grep -q {} .gitmodules
|
|
|
|
|| (echo "Removing {}, has .git directory but not in .gitmodules file"
|
|
|
|
&& rm -rf {});'
|
|
|
|
|
2017-10-18 11:53:10 +00:00
|
|
|
# before each job, we need to check if this job is filtered by bot stage/job filter
|
|
|
|
.apply_bot_filter: &apply_bot_filter
|
|
|
|
python $APPLY_BOT_FILTER_SCRIPT || exit 0
|
2017-06-07 01:58:35 +00:00
|
|
|
|
2016-09-01 07:13:15 +00:00
|
|
|
before_script:
|
2018-06-08 11:41:18 +00:00
|
|
|
- *git_clean_stale_submodules
|
2017-10-18 11:53:10 +00:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2016-09-13 01:34:28 +00:00
|
|
|
# add gitlab ssh key
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
2016-09-13 13:24:57 +00:00
|
|
|
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
|
2016-09-13 01:34:28 +00:00
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
2016-11-08 03:55:48 +00:00
|
|
|
|
2017-03-22 10:39:28 +00:00
|
|
|
# Set IS_PRIVATE or IS_PUBLIC depending on if our branch is public or not
|
|
|
|
#
|
|
|
|
# (the same regular expressions are used to set these are used in 'only:' sections below
|
2017-06-16 04:38:32 +00:00
|
|
|
- source tools/ci/configure_ci_environment.sh
|
2017-03-22 10:39:28 +00:00
|
|
|
|
2017-06-14 07:52:33 +00:00
|
|
|
# fetch the submodules (& if necessary re-fetch repo) from gitlab
|
|
|
|
- time ./tools/ci/get-full-sources.sh
|
2016-09-01 07:13:15 +00:00
|
|
|
|
2018-08-13 02:35:11 +00:00
|
|
|
# used for check scripts which we want to run unconditionally
|
|
|
|
.do_nothing_before_no_filter:
|
|
|
|
before_script: &do_nothing_before_no_filter
|
|
|
|
- *git_clean_stale_submodules
|
|
|
|
|
|
|
|
# used for everything else where we want to do no prep, except for bot filter
|
2017-06-26 10:42:28 +00:00
|
|
|
.do_nothing_before:
|
|
|
|
before_script: &do_nothing_before
|
2018-06-08 11:41:18 +00:00
|
|
|
- *git_clean_stale_submodules
|
2017-10-18 11:53:10 +00:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2017-06-26 10:42:28 +00:00
|
|
|
- echo "Not setting up GitLab key, not fetching submodules"
|
|
|
|
- source tools/ci/configure_ci_environment.sh
|
|
|
|
|
|
|
|
.add_gitlab_key_before:
|
|
|
|
before_script: &add_gitlab_key_before
|
2018-06-08 11:41:18 +00:00
|
|
|
- *git_clean_stale_submodules
|
2017-10-18 11:53:10 +00:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2017-06-26 10:42:28 +00:00
|
|
|
- echo "Not fetching submodules"
|
|
|
|
- source tools/ci/configure_ci_environment.sh
|
|
|
|
# add gitlab ssh key
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
|
|
|
|
2016-08-22 07:02:22 +00:00
|
|
|
build_template_app:
|
2016-08-22 10:19:08 +00:00
|
|
|
stage: build
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-09 02:49:03 +00:00
|
|
|
tags:
|
|
|
|
- build
|
2016-08-22 07:02:22 +00:00
|
|
|
variables:
|
2017-02-10 06:38:24 +00:00
|
|
|
BATCH_BUILD: "1"
|
2016-10-05 05:32:09 +00:00
|
|
|
IDF_CI_BUILD: "1"
|
2016-08-22 07:02:22 +00:00
|
|
|
script:
|
|
|
|
- git clone https://github.com/espressif/esp-idf-template.git
|
|
|
|
- cd esp-idf-template
|
2016-09-01 08:58:06 +00:00
|
|
|
# Try to use the same branch name for esp-idf-template that we're
|
|
|
|
# using on esp-idf. If it doesn't exist then just stick to the default
|
|
|
|
# branch
|
2017-10-18 11:53:10 +00:00
|
|
|
- python $CHECKOUT_REF_SCRIPT esp-idf-template
|
2016-10-17 04:45:42 +00:00
|
|
|
# Test debug build (default)
|
|
|
|
- make all V=1
|
|
|
|
# Now test release build
|
|
|
|
- make clean
|
|
|
|
- sed -i.bak -e's/CONFIG_OPTIMIZATION_LEVEL_DEBUG\=y/CONFIG_OPTIMIZATION_LEVEL_RELEASE=y/' sdkconfig
|
2016-09-09 00:49:35 +00:00
|
|
|
- make all V=1
|
2016-11-21 15:05:23 +00:00
|
|
|
# Check if there are any stray printf/ets_printf references in WiFi libs
|
|
|
|
- cd ../components/esp32/lib
|
2018-04-03 07:37:28 +00:00
|
|
|
- test $(xtensa-esp32-elf-nm *.a | grep -w printf | wc -l) -eq 0
|
|
|
|
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
|
2016-08-22 10:19:08 +00:00
|
|
|
|
2016-09-09 02:49:03 +00:00
|
|
|
|
2017-04-26 10:09:14 +00:00
|
|
|
.build_template: &build_template
|
2016-09-09 02:49:03 +00:00
|
|
|
stage: build
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-09 02:49:03 +00:00
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
variables:
|
2017-02-10 06:38:24 +00:00
|
|
|
BATCH_BUILD: "1"
|
2017-04-20 03:43:20 +00:00
|
|
|
V: "0"
|
2016-09-09 02:49:03 +00:00
|
|
|
|
2017-12-01 04:00:40 +00:00
|
|
|
.build_ssc_template: &build_ssc_template
|
2016-09-09 02:49:03 +00:00
|
|
|
<<: *build_template
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-06-09 10:14:29 +00:00
|
|
|
- SSC/ssc_bin
|
2017-12-01 04:00:40 +00:00
|
|
|
expire_in: 1 mos
|
|
|
|
variables:
|
|
|
|
SSC_CONFIG_FOLDER: "$CI_PROJECT_DIR/SSC/configs/ESP32_IDF"
|
2016-09-09 02:49:03 +00:00
|
|
|
script:
|
2017-05-05 12:20:31 +00:00
|
|
|
- git clone $SSC_REPOSITORY
|
2016-09-09 02:49:03 +00:00
|
|
|
- cd SSC
|
2017-10-18 11:53:10 +00:00
|
|
|
- python $CHECKOUT_REF_SCRIPT SSC
|
2017-12-01 04:00:40 +00:00
|
|
|
- MAKEFLAGS= ./ci_build_ssc.sh "${CI_JOB_NAME}" "${IDF_PATH}/.gitlab-ci.yml"
|
|
|
|
|
|
|
|
# don't forget to add to dependency to test_template when adding new build_ssc jobs
|
|
|
|
build_ssc_00:
|
|
|
|
<<: *build_ssc_template
|
|
|
|
|
|
|
|
build_ssc_01:
|
|
|
|
<<: *build_ssc_template
|
|
|
|
|
|
|
|
build_ssc_02:
|
|
|
|
<<: *build_ssc_template
|
2016-09-09 02:49:03 +00:00
|
|
|
|
2018-06-24 06:11:57 +00:00
|
|
|
# If you want to add new build ssc jobs, please add it into dependencies of `assign_test` and `.test_template`
|
|
|
|
|
2016-11-01 11:30:42 +00:00
|
|
|
build_esp_idf_tests:
|
|
|
|
<<: *build_template
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-09-12 17:40:54 +00:00
|
|
|
- tools/unit-test-app/output
|
2017-06-09 10:14:29 +00:00
|
|
|
- components/idf_test/unit_test/TestCaseAll.yml
|
|
|
|
- components/idf_test/unit_test/CIConfigs/*.yml
|
2018-06-24 06:11:57 +00:00
|
|
|
expire_in: 1 mos
|
2016-11-01 11:30:42 +00:00
|
|
|
script:
|
2016-11-17 08:36:10 +00:00
|
|
|
- cd tools/unit-test-app
|
2018-04-28 10:56:25 +00:00
|
|
|
- MAKEFLAGS= make help # make sure kconfig tools are built in single process
|
2017-09-12 17:40:54 +00:00
|
|
|
- make ut-clean-all-configs
|
2017-10-18 13:09:53 +00:00
|
|
|
- export EXTRA_CFLAGS="-Werror -Werror=deprecated-declarations"
|
|
|
|
- export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
|
2018-04-28 10:56:25 +00:00
|
|
|
- make ut-build-all-configs
|
2017-03-24 10:38:06 +00:00
|
|
|
- python tools/UnitTestParser.py
|
2016-11-01 11:30:42 +00:00
|
|
|
|
2017-06-07 08:30:25 +00:00
|
|
|
.build_examples_template: &build_examples_template
|
2016-10-11 05:41:05 +00:00
|
|
|
<<: *build_template
|
2018-04-04 07:37:28 +00:00
|
|
|
retry: 1
|
2016-10-11 05:41:05 +00:00
|
|
|
artifacts:
|
2017-12-28 10:20:14 +00:00
|
|
|
when: always
|
2016-10-11 05:41:05 +00:00
|
|
|
paths:
|
2017-06-05 06:39:11 +00:00
|
|
|
- build_examples/*/*/*/build/*.bin
|
|
|
|
- build_examples/*/*/*/build/*.elf
|
|
|
|
- build_examples/*/*/*/build/*.map
|
2017-10-10 02:55:25 +00:00
|
|
|
- build_examples/*/*/*/build/download.config
|
2017-06-05 06:39:11 +00:00
|
|
|
- build_examples/*/*/*/build/bootloader/*.bin
|
2017-12-28 10:20:14 +00:00
|
|
|
- $LOG_PATH
|
2017-06-07 08:30:25 +00:00
|
|
|
expire_in: 1 week
|
2017-06-06 10:26:31 +00:00
|
|
|
variables:
|
|
|
|
IDF_CI_BUILD: "1"
|
2017-12-28 10:20:14 +00:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/log_examples"
|
2016-10-11 05:41:05 +00:00
|
|
|
script:
|
|
|
|
# it's not possible to build 100% out-of-tree and have the "artifacts"
|
|
|
|
# mechanism work, but this is the next best thing
|
2017-09-01 03:42:39 +00:00
|
|
|
- rm -rf build_examples
|
2016-10-11 05:41:05 +00:00
|
|
|
- mkdir build_examples
|
|
|
|
- cd build_examples
|
2017-06-07 08:30:25 +00:00
|
|
|
# build some of examples
|
2017-12-28 10:20:14 +00:00
|
|
|
- mkdir -p ${LOG_PATH}
|
2017-06-16 04:38:32 +00:00
|
|
|
- ${IDF_PATH}/tools/ci/build_examples.sh "${CI_JOB_NAME}"
|
2017-06-07 08:30:25 +00:00
|
|
|
|
|
|
|
build_examples_00:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_01:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_02:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_03:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_04:
|
|
|
|
<<: *build_examples_template
|
2016-10-11 05:41:05 +00:00
|
|
|
|
2017-09-01 07:29:51 +00:00
|
|
|
build_examples_05:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_06:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
2017-11-22 14:40:49 +00:00
|
|
|
build_examples_07:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
2018-06-24 06:11:57 +00:00
|
|
|
# If you want to add new build example jobs, please add it into dependencies of `.example_test_template`
|
2017-11-22 14:40:49 +00:00
|
|
|
|
2016-11-01 12:08:29 +00:00
|
|
|
build_docs:
|
|
|
|
stage: build
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-11-01 12:08:29 +00:00
|
|
|
tags:
|
|
|
|
- build_docs
|
2017-06-09 10:14:29 +00:00
|
|
|
artifacts:
|
2017-09-06 19:16:34 +00:00
|
|
|
when: always
|
2017-06-09 10:14:29 +00:00
|
|
|
paths:
|
2018-02-03 21:12:13 +00:00
|
|
|
# English version of documentation
|
|
|
|
- docs/en/doxygen-warning-log.txt
|
|
|
|
- docs/en/sphinx-warning-log.txt
|
|
|
|
- docs/en/sphinx-warning-log-sanitized.txt
|
|
|
|
- docs/en/_build/html
|
|
|
|
# Chinese version of documentation
|
|
|
|
- docs/zh_CN/doxygen-warning-log.txt
|
|
|
|
- docs/zh_CN/sphinx-warning-log.txt
|
|
|
|
- docs/zh_CN/sphinx-warning-log-sanitized.txt
|
|
|
|
- docs/zh_CN/_build/html
|
2017-06-09 10:14:29 +00:00
|
|
|
expire_in: 1 mos
|
2016-11-01 12:08:29 +00:00
|
|
|
script:
|
2018-03-16 06:54:58 +00:00
|
|
|
- cd docs
|
|
|
|
- ./check_lang_folder_sync.sh
|
|
|
|
- cd en
|
2017-01-19 08:16:06 +00:00
|
|
|
- make gh-linkcheck
|
2016-11-01 12:08:29 +00:00
|
|
|
- make html
|
2018-02-03 21:12:13 +00:00
|
|
|
- ../check_doc_warnings.sh
|
|
|
|
- cd ../zh_CN
|
|
|
|
- make gh-linkcheck
|
|
|
|
- make html
|
|
|
|
- ../check_doc_warnings.sh
|
2016-11-01 12:08:29 +00:00
|
|
|
|
2018-06-25 02:33:59 +00:00
|
|
|
.host_test_template: &host_test_template
|
|
|
|
stage: host_test
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-09 02:49:03 +00:00
|
|
|
tags:
|
2018-06-06 07:20:44 +00:00
|
|
|
- host_test
|
2017-06-09 11:05:17 +00:00
|
|
|
dependencies: []
|
2018-06-25 02:33:59 +00:00
|
|
|
|
|
|
|
test_nvs_on_host:
|
|
|
|
<<: *host_test_template
|
2016-08-23 04:54:09 +00:00
|
|
|
script:
|
2016-11-17 08:36:10 +00:00
|
|
|
- cd components/nvs_flash/test_nvs_host
|
2016-08-23 04:54:09 +00:00
|
|
|
- make test
|
|
|
|
|
2018-04-16 03:50:12 +00:00
|
|
|
test_nvs_coverage:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2018-04-16 03:50:12 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- components/nvs_flash/test_nvs_host/coverage_report
|
|
|
|
only:
|
|
|
|
- triggers
|
|
|
|
# This job takes a few hours to finish, so only run it on demand
|
|
|
|
variables:
|
|
|
|
BOT_NEEDS_TRIGGER_BY_NAME: 1
|
|
|
|
script:
|
|
|
|
- cd components/nvs_flash/test_nvs_host
|
|
|
|
- make coverage_report
|
|
|
|
|
2017-05-12 02:30:27 +00:00
|
|
|
test_partition_table_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2017-05-12 02:30:27 +00:00
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
script:
|
|
|
|
- cd components/partition_table/test_gen_esp32part_host
|
|
|
|
- ./gen_esp32part_tests.py
|
|
|
|
|
2017-04-10 13:41:19 +00:00
|
|
|
test_wl_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2017-04-10 13:41:19 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- components/wear_levelling/test_wl_host/coverage_report.zip
|
|
|
|
script:
|
|
|
|
- cd components/wear_levelling/test_wl_host
|
|
|
|
- make test
|
|
|
|
|
2018-05-22 10:26:19 +00:00
|
|
|
test_fatfs_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2018-05-22 10:26:19 +00:00
|
|
|
script:
|
|
|
|
- cd components/fatfs/test_fatfs_host/
|
|
|
|
- make test
|
|
|
|
|
2018-07-27 07:26:51 +00:00
|
|
|
.host_fuzzer_test_template: &host_fuzzer_test_template
|
2018-06-11 06:32:40 +00:00
|
|
|
stage: host_test
|
2018-08-12 22:33:18 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/afl-fuzzer-test
|
2018-06-11 06:32:40 +00:00
|
|
|
tags:
|
|
|
|
- host_test
|
|
|
|
dependencies: []
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
2018-07-27 07:26:51 +00:00
|
|
|
- ${FUZZER_TEST_DIR}/out/crashes
|
|
|
|
- ${FUZZER_TEST_DIR}/fuzz_output.log
|
2018-06-11 06:32:40 +00:00
|
|
|
expire_in: 1 mos
|
|
|
|
only:
|
|
|
|
# can only be triggered
|
|
|
|
- triggers
|
|
|
|
script:
|
|
|
|
- export AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 && export AFL_SKIP_CPUFREQ=1
|
2018-07-27 07:26:51 +00:00
|
|
|
- cd ${FUZZER_TEST_DIR}
|
2018-06-11 06:32:40 +00:00
|
|
|
# run AFL fuzzer for one hour
|
2018-07-27 07:26:51 +00:00
|
|
|
- ( ( make ${FUZZER_PARAMS} fuzz | tee fuzz_output.log | grep -v '\(Fuzzing test case\|Entering queue cycle\)' ) || pkill sleep ) &
|
2018-06-11 06:32:40 +00:00
|
|
|
- ( sleep 3600 || mkdir -p out/crashes/env_failed ) && pkill afl-fuz
|
|
|
|
# check no crashes found
|
2018-07-27 07:26:51 +00:00
|
|
|
- test -z "$(ls out/crashes/)" || exit 1
|
|
|
|
|
|
|
|
test_mdns_fuzzer_on_host:
|
|
|
|
<<: *host_fuzzer_test_template
|
|
|
|
variables:
|
2018-08-27 13:41:52 +00:00
|
|
|
BOT_NEEDS_TRIGGER_BY_NAME: 1
|
2018-07-27 07:26:51 +00:00
|
|
|
FUZZER_TEST_DIR: components/mdns/test_afl_fuzz_host
|
|
|
|
|
|
|
|
test_lwip_dns_fuzzer_on_host:
|
|
|
|
<<: *host_fuzzer_test_template
|
|
|
|
variables:
|
2018-08-27 13:41:52 +00:00
|
|
|
BOT_NEEDS_TRIGGER_BY_NAME: 1
|
2018-07-27 07:26:51 +00:00
|
|
|
FUZZER_TEST_DIR: components/lwip/test_afl_host
|
|
|
|
FUZZER_PARAMS: MODE=dns
|
|
|
|
|
|
|
|
test_lwip_dhcp_fuzzer_on_host:
|
|
|
|
<<: *host_fuzzer_test_template
|
|
|
|
variables:
|
2018-08-27 13:41:52 +00:00
|
|
|
BOT_NEEDS_TRIGGER_BY_NAME: 1
|
2018-07-27 07:26:51 +00:00
|
|
|
FUZZER_TEST_DIR: components/lwip/test_afl_host
|
|
|
|
FUZZER_PARAMS: MODE=dhcp_client
|
|
|
|
|
|
|
|
test_lwip_dhcps_fuzzer_on_host:
|
|
|
|
<<: *host_fuzzer_test_template
|
|
|
|
variables:
|
2018-08-27 13:41:52 +00:00
|
|
|
BOT_NEEDS_TRIGGER_BY_NAME: 1
|
2018-07-27 07:26:51 +00:00
|
|
|
FUZZER_TEST_DIR: components/lwip/test_afl_host
|
|
|
|
FUZZER_PARAMS: MODE=dhcp_server
|
2018-06-11 06:32:40 +00:00
|
|
|
|
2018-05-22 10:26:19 +00:00
|
|
|
test_spiffs_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2018-05-22 10:26:19 +00:00
|
|
|
script:
|
|
|
|
- cd components/spiffs/test_spiffs_host/
|
|
|
|
- make test
|
|
|
|
|
2017-05-03 08:03:28 +00:00
|
|
|
test_multi_heap_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2017-05-03 08:03:28 +00:00
|
|
|
script:
|
|
|
|
- cd components/heap/test_multi_heap_host
|
2018-04-03 02:04:12 +00:00
|
|
|
- ./test_all_configs.sh
|
2017-05-03 08:03:28 +00:00
|
|
|
|
2016-08-24 04:16:26 +00:00
|
|
|
test_build_system:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2016-08-24 04:16:26 +00:00
|
|
|
script:
|
2017-09-04 01:15:04 +00:00
|
|
|
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
|
|
|
|
- rm -rf test_build_system
|
|
|
|
- mkdir test_build_system
|
|
|
|
- cd test_build_system
|
|
|
|
- ${IDF_PATH}/tools/ci/test_build_system.sh
|
2016-08-24 04:16:26 +00:00
|
|
|
|
2018-06-14 09:56:20 +00:00
|
|
|
test_idf_monitor:
|
|
|
|
<<: *host_test_template
|
|
|
|
artifacts:
|
|
|
|
when: on_failure
|
|
|
|
paths:
|
|
|
|
- tools/test_idf_monitor/outputs/*
|
|
|
|
expire_in: 1 week
|
|
|
|
script:
|
|
|
|
- cd ${IDF_PATH}/tools/test_idf_monitor
|
2018-08-01 09:47:05 +00:00
|
|
|
- source /opt/pyenv/activate
|
|
|
|
- pyenv global 2.7.15
|
2018-06-14 09:56:20 +00:00
|
|
|
- ./run_test_idf_monitor.py
|
2018-08-01 09:47:05 +00:00
|
|
|
- pyenv global 3.4.8
|
|
|
|
- ./run_test_idf_monitor.py
|
|
|
|
- pyenv global system
|
2018-06-14 09:56:20 +00:00
|
|
|
|
2018-07-23 09:46:59 +00:00
|
|
|
test_idf_size:
|
|
|
|
<<: *host_test_template
|
|
|
|
artifacts:
|
|
|
|
when: on_failure
|
|
|
|
paths:
|
|
|
|
- tools/test_idf_size/output
|
|
|
|
- tools/test_idf_size/.coverage
|
|
|
|
expire_in: 1 week
|
|
|
|
script:
|
|
|
|
- cd ${IDF_PATH}/tools/test_idf_size
|
|
|
|
- source /opt/pyenv/activate
|
|
|
|
- pyenv global 2.7.15
|
|
|
|
- ./test.sh
|
|
|
|
- pyenv global 3.4.8
|
|
|
|
- ./test.sh
|
|
|
|
- pyenv global system
|
|
|
|
|
2018-02-01 12:14:47 +00:00
|
|
|
test_esp_err_to_name_on_host:
|
2018-06-25 02:33:59 +00:00
|
|
|
<<: *host_test_template
|
2018-08-02 09:01:04 +00:00
|
|
|
artifacts:
|
|
|
|
when: on_failure
|
|
|
|
paths:
|
|
|
|
- components/esp32/esp_err_to_name.c
|
|
|
|
expire_in: 1 week
|
2018-02-01 12:14:47 +00:00
|
|
|
script:
|
|
|
|
- cd tools/
|
2018-08-02 09:01:04 +00:00
|
|
|
- source /opt/pyenv/activate
|
|
|
|
- pyenv global 2.7.15
|
2018-02-01 12:14:47 +00:00
|
|
|
- ./gen_esp_err_to_name.py
|
|
|
|
- git diff --exit-code -- ../components/esp32/esp_err_to_name.c || (echo 'Differences found. Please run gen_esp_err_to_name.py and commit the changes.'; exit 1)
|
2018-08-02 09:01:04 +00:00
|
|
|
- pyenv global 3.4.8
|
|
|
|
- ./gen_esp_err_to_name.py
|
|
|
|
- git diff --exit-code -- ../components/esp32/esp_err_to_name.c || (echo 'Differences found between running under Python 2 and 3.'; exit 1)
|
|
|
|
- pyenv global system
|
2018-02-01 12:14:47 +00:00
|
|
|
|
2018-07-27 02:01:58 +00:00
|
|
|
push_to_github:
|
2016-09-26 06:32:58 +00:00
|
|
|
stage: deploy
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-26 10:09:14 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2016-09-26 06:32:58 +00:00
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 10:25:28 +00:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-09-26 06:32:58 +00:00
|
|
|
when: on_success
|
2017-06-09 11:05:17 +00:00
|
|
|
dependencies: []
|
2017-06-26 10:42:28 +00:00
|
|
|
before_script: *do_nothing_before
|
2016-09-26 06:32:58 +00:00
|
|
|
script:
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $GH_PUSH_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
2017-07-04 03:52:57 +00:00
|
|
|
- git remote remove github &>/dev/null || true
|
2016-09-26 06:32:58 +00:00
|
|
|
- git remote add github git@github.com:espressif/esp-idf.git
|
2018-07-27 02:01:58 +00:00
|
|
|
# Need separate push commands for tag builds and for branch builds
|
|
|
|
- "[ -n \"${CI_COMMIT_TAG}\" ] && git push github ${CI_COMMIT_TAG}"
|
2018-08-01 00:47:38 +00:00
|
|
|
- "[ -z \"${CI_COMMIT_TAG}\" ] && git push github ${CI_COMMIT_SHA}:refs/heads/${CI_COMMIT_REF_NAME}"
|
2016-09-26 06:32:58 +00:00
|
|
|
|
2016-11-01 12:58:47 +00:00
|
|
|
deploy_docs:
|
2018-06-25 02:33:59 +00:00
|
|
|
stage: host_test
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-26 10:09:14 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2016-11-01 12:58:47 +00:00
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 10:25:28 +00:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-11-01 12:58:47 +00:00
|
|
|
- triggers
|
2017-06-09 11:05:17 +00:00
|
|
|
dependencies:
|
|
|
|
- build_docs
|
2017-06-26 10:42:28 +00:00
|
|
|
before_script: *do_nothing_before
|
2016-11-01 12:58:47 +00:00
|
|
|
script:
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $DOCS_DEPLOY_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~/.ssh/config
|
|
|
|
- export GIT_VER=$(git describe --always)
|
2018-02-09 09:17:06 +00:00
|
|
|
- cd docs/en/_build/
|
|
|
|
- mv html $GIT_VER
|
|
|
|
- tar czvf $GIT_VER.tar.gz $GIT_VER
|
|
|
|
- scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/en
|
|
|
|
- ssh $DOCS_SERVER -x "cd $DOCS_PATH/en && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
|
|
|
|
- cd ../../zh_CN/_build/
|
2016-11-01 12:58:47 +00:00
|
|
|
- mv html $GIT_VER
|
|
|
|
- tar czvf $GIT_VER.tar.gz $GIT_VER
|
2018-02-09 09:17:06 +00:00
|
|
|
- scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/zh_CN
|
|
|
|
- ssh $DOCS_SERVER -x "cd $DOCS_PATH/zh_CN && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
|
2018-02-12 06:30:02 +00:00
|
|
|
# add link to preview doc
|
|
|
|
- echo "[document preview][en] $CI_DOCKER_REGISTRY/docs/esp-idf/en/${GIT_VER}/index.html"
|
|
|
|
- echo "[document preview][zh_CN] $CI_DOCKER_REGISTRY/docs/esp-idf/zh_CN/${GIT_VER}/index.html"
|
2016-11-01 12:58:47 +00:00
|
|
|
|
2017-01-19 08:16:06 +00:00
|
|
|
check_doc_links:
|
2018-06-25 02:33:59 +00:00
|
|
|
stage: host_test
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-01-19 08:16:06 +00:00
|
|
|
tags:
|
|
|
|
- check_doc_links
|
|
|
|
only:
|
|
|
|
# can only be triggered
|
|
|
|
- triggers
|
2017-06-09 10:14:29 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- docs/_build/linkcheck
|
|
|
|
expire_in: 1 mos
|
2017-01-19 08:16:06 +00:00
|
|
|
script:
|
|
|
|
# must be triggered with CHECK_LINKS=Yes, otherwise exit without test
|
2017-03-04 10:17:59 +00:00
|
|
|
- test "$CHECK_LINKS" = "Yes" || exit 0
|
2017-01-19 08:16:06 +00:00
|
|
|
# can only run on master branch (otherwise the commit is not on Github yet)
|
2017-05-31 09:20:29 +00:00
|
|
|
- test "${CI_COMMIT_REF_NAME}" = "master" || exit 0
|
2017-01-19 08:16:06 +00:00
|
|
|
- cd docs
|
|
|
|
- make linkcheck
|
|
|
|
|
2018-03-23 06:05:16 +00:00
|
|
|
check_line_endings:
|
2018-08-13 02:35:11 +00:00
|
|
|
stage: check
|
2018-03-23 06:05:16 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
dependencies: []
|
2018-08-13 02:35:11 +00:00
|
|
|
before_script: *do_nothing_before_no_filter
|
2018-03-23 06:05:16 +00:00
|
|
|
script:
|
|
|
|
- tools/ci/check-line-endings.sh ${IDF_PATH}
|
|
|
|
|
2017-03-31 10:52:59 +00:00
|
|
|
check_commit_msg:
|
2018-08-13 02:35:11 +00:00
|
|
|
stage: check
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-03-31 10:52:59 +00:00
|
|
|
tags:
|
|
|
|
- build
|
2017-06-09 11:05:17 +00:00
|
|
|
dependencies: []
|
2018-08-13 02:35:11 +00:00
|
|
|
before_script: *do_nothing_before_no_filter
|
2017-03-31 10:52:59 +00:00
|
|
|
script:
|
2017-06-16 04:36:34 +00:00
|
|
|
- git status
|
|
|
|
- git log -n10 --oneline
|
2017-03-31 10:52:59 +00:00
|
|
|
# commit start with "WIP: " need to be squashed before merge
|
2017-06-16 04:36:34 +00:00
|
|
|
- 'git log --pretty=%s master.. -- | grep "^WIP: " && exit 1 || exit 0'
|
2016-11-01 12:58:47 +00:00
|
|
|
|
2018-05-28 18:01:43 +00:00
|
|
|
check_permissions:
|
2018-08-13 02:35:11 +00:00
|
|
|
stage: check
|
2018-05-28 18:01:43 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
dependencies: []
|
2018-08-13 02:35:11 +00:00
|
|
|
before_script: *do_nothing_before_no_filter
|
2018-05-28 18:01:43 +00:00
|
|
|
script:
|
|
|
|
- tools/ci/check-executable.sh
|
|
|
|
|
2017-06-08 03:55:27 +00:00
|
|
|
check_submodule_sync:
|
2018-08-13 02:35:11 +00:00
|
|
|
stage: check
|
2017-11-23 02:13:14 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-06-08 03:55:27 +00:00
|
|
|
tags:
|
|
|
|
- build
|
2017-06-09 11:05:17 +00:00
|
|
|
dependencies: []
|
2017-06-19 01:59:18 +00:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: clone
|
2018-08-13 02:35:11 +00:00
|
|
|
before_script: *do_nothing_before_no_filter
|
2017-06-08 03:55:27 +00:00
|
|
|
script:
|
|
|
|
# check if all submodules are correctly synced to public repostory
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
assign_test:
|
2018-01-08 12:33:09 +00:00
|
|
|
tags:
|
|
|
|
- assign_test
|
2018-08-12 22:33:18 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/ubuntu-test-env
|
2017-05-05 12:20:31 +00:00
|
|
|
stage: assign_test
|
2017-10-10 02:55:25 +00:00
|
|
|
# gitlab ci do not support match job with RegEx or wildcard now in dependencies.
|
|
|
|
# we have a lot build example jobs. now we don't use dependencies, just download all artificats of build stage.
|
2018-01-08 12:33:09 +00:00
|
|
|
dependencies:
|
|
|
|
- build_ssc_00
|
|
|
|
- build_ssc_01
|
|
|
|
- build_ssc_02
|
|
|
|
- build_esp_idf_tests
|
2017-09-13 12:39:43 +00:00
|
|
|
variables:
|
2017-10-10 02:55:25 +00:00
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
|
|
|
EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
|
2017-05-05 12:20:31 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- components/idf_test/*/CIConfigs
|
|
|
|
- components/idf_test/*/TC.sqlite
|
2017-10-10 02:55:25 +00:00
|
|
|
- $EXAMPLE_CONFIG_OUTPUT_PATH
|
2017-05-05 12:20:31 +00:00
|
|
|
expire_in: 1 mos
|
2017-06-26 10:42:28 +00:00
|
|
|
before_script: *add_gitlab_key_before
|
2017-05-05 12:20:31 +00:00
|
|
|
script:
|
2017-10-10 02:55:25 +00:00
|
|
|
# assign example tests
|
|
|
|
- python $TEST_FW_PATH/CIAssignExampleTest.py $IDF_PATH/examples $IDF_PATH/.gitlab-ci.yml $EXAMPLE_CONFIG_OUTPUT_PATH
|
2018-01-31 10:59:10 +00:00
|
|
|
# assign unit test cases
|
|
|
|
- python $TEST_FW_PATH/CIAssignUnitTest.py $IDF_PATH/components/idf_test/unit_test/TestCaseAll.yml $IDF_PATH/.gitlab-ci.yml $IDF_PATH/components/idf_test/unit_test/CIConfigs
|
2017-05-05 12:20:31 +00:00
|
|
|
# clone test script to assign tests
|
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
|
|
|
- cd auto_test_script
|
2017-10-18 11:53:10 +00:00
|
|
|
- python $CHECKOUT_REF_SCRIPT auto_test_script
|
2017-05-05 12:20:31 +00:00
|
|
|
# assgin integration test cases
|
2017-12-01 04:00:40 +00:00
|
|
|
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin
|
2017-05-05 12:20:31 +00:00
|
|
|
|
2017-10-10 02:55:25 +00:00
|
|
|
.example_test_template: &example_test_template
|
2018-06-25 02:33:59 +00:00
|
|
|
stage: integration_test
|
2017-10-10 02:55:25 +00:00
|
|
|
when: on_success
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
|
|
|
- triggers
|
2017-12-18 11:24:09 +00:00
|
|
|
- schedules
|
2018-06-24 06:11:57 +00:00
|
|
|
dependencies:
|
|
|
|
- assign_test
|
|
|
|
- build_examples_00
|
|
|
|
- build_examples_01
|
|
|
|
- build_examples_02
|
|
|
|
- build_examples_03
|
|
|
|
- build_examples_04
|
|
|
|
- build_examples_05
|
|
|
|
- build_examples_06
|
|
|
|
- build_examples_07
|
2017-10-10 02:55:25 +00:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
2018-06-24 06:11:57 +00:00
|
|
|
expire_in: 1 mos
|
2017-10-10 02:55:25 +00:00
|
|
|
variables:
|
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
|
|
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
|
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/examples/test_configs/$CI_JOB_NAME.yml"
|
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
2018-01-08 12:33:09 +00:00
|
|
|
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
2017-10-10 02:55:25 +00:00
|
|
|
script:
|
|
|
|
# first test if config file exists, if not exist, exit 0
|
|
|
|
- test -e $CONFIG_FILE || exit 0
|
2018-01-08 12:33:09 +00:00
|
|
|
# clone test env configs
|
|
|
|
- git clone $TEST_ENV_CONFIG_REPOSITORY
|
|
|
|
- cd ci-test-runner-configs
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
|
2017-10-10 02:55:25 +00:00
|
|
|
- cd $TEST_FW_PATH
|
|
|
|
# run test
|
2018-01-08 12:33:09 +00:00
|
|
|
- python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE
|
2017-10-10 02:55:25 +00:00
|
|
|
|
2018-01-31 10:59:10 +00:00
|
|
|
.unit_test_template: &unit_test_template
|
|
|
|
<<: *example_test_template
|
|
|
|
stage: unit_test
|
|
|
|
dependencies:
|
|
|
|
- assign_test
|
2018-05-15 15:04:21 +00:00
|
|
|
- build_esp_idf_tests
|
2018-01-31 10:59:10 +00:00
|
|
|
variables:
|
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
|
|
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/tools/unit-test-app"
|
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/CIConfigs/$CI_JOB_NAME.yml"
|
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
2018-01-08 12:33:09 +00:00
|
|
|
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
2018-01-31 10:59:10 +00:00
|
|
|
|
2016-09-09 02:49:03 +00:00
|
|
|
.test_template: &test_template
|
2018-06-25 02:33:59 +00:00
|
|
|
stage: integration_test
|
2016-09-09 02:49:03 +00:00
|
|
|
when: on_success
|
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 10:25:28 +00:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-09-18 15:12:50 +00:00
|
|
|
- triggers
|
2017-12-18 11:24:09 +00:00
|
|
|
- schedules
|
2017-05-05 12:20:31 +00:00
|
|
|
dependencies:
|
|
|
|
- assign_test
|
2017-12-01 04:00:40 +00:00
|
|
|
- build_ssc_00
|
|
|
|
- build_ssc_01
|
|
|
|
- build_ssc_02
|
2017-06-09 10:14:29 +00:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
2018-06-24 06:11:57 +00:00
|
|
|
expire_in: 1 mos
|
2016-09-09 02:49:03 +00:00
|
|
|
variables:
|
2017-05-05 12:20:31 +00:00
|
|
|
LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
|
2017-05-31 09:20:29 +00:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
|
2016-11-01 11:30:42 +00:00
|
|
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
|
2017-05-05 12:20:31 +00:00
|
|
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
|
2017-05-31 09:20:29 +00:00
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/integration_test/CIConfigs/$CI_JOB_NAME.yml"
|
2017-06-26 10:42:28 +00:00
|
|
|
before_script: *add_gitlab_key_before
|
2017-06-14 07:52:33 +00:00
|
|
|
script:
|
|
|
|
# first test if config file exists, if not exist, exit 0
|
|
|
|
- test -e $CONFIG_FILE || exit 0
|
2017-02-02 13:59:00 +00:00
|
|
|
# clone local test env configs
|
2017-05-05 12:20:31 +00:00
|
|
|
- git clone $TEST_ENV_CONFIG_REPOSITORY
|
2017-10-18 11:53:10 +00:00
|
|
|
- cd ci-test-runner-configs
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
|
2016-09-29 05:38:29 +00:00
|
|
|
# clone test bench
|
2017-05-05 12:20:31 +00:00
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
2016-09-27 08:22:18 +00:00
|
|
|
- cd auto_test_script
|
2017-10-18 11:53:10 +00:00
|
|
|
- python $CHECKOUT_REF_SCRIPT auto_test_script
|
2016-09-29 05:38:29 +00:00
|
|
|
# run test
|
2017-05-31 09:20:29 +00:00
|
|
|
- python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
|
2016-09-26 06:32:58 +00:00
|
|
|
|
2017-06-02 07:03:56 +00:00
|
|
|
nvs_compatible_test:
|
|
|
|
<<: *test_template
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
2017-06-09 10:14:29 +00:00
|
|
|
- nvs_wifi.bin
|
2018-06-24 06:11:57 +00:00
|
|
|
expire_in: 1 mos
|
2017-06-02 07:03:56 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- NVS_Compatible
|
|
|
|
script:
|
|
|
|
# clone local test env configs
|
|
|
|
- git clone $TEST_ENV_CONFIG_REPOSITORY
|
2017-10-18 11:53:10 +00:00
|
|
|
- cd ci-test-runner-configs
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
|
2017-06-02 07:03:56 +00:00
|
|
|
# clone test bench
|
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
|
|
|
- cd auto_test_script
|
|
|
|
- git checkout ${CI_COMMIT_REF_NAME} || echo "Using default branch..."
|
|
|
|
# prepare nvs bins
|
|
|
|
- ./Tools/prepare_nvs_bin.sh
|
|
|
|
# run test
|
|
|
|
- python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
|
|
|
|
|
2017-10-10 02:55:25 +00:00
|
|
|
example_test_001_01:
|
|
|
|
<<: *example_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_WIFI
|
|
|
|
|
2018-01-08 12:33:09 +00:00
|
|
|
example_test_002_01:
|
|
|
|
<<: *example_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_ShieldBox
|
|
|
|
|
2018-05-29 08:33:24 +00:00
|
|
|
example_test_003_01:
|
|
|
|
<<: *example_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_SDIO
|
|
|
|
|
2017-12-18 12:32:29 +00:00
|
|
|
example_test_004_01:
|
|
|
|
<<: *example_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_CAN
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
UT_001_01:
|
2016-11-01 12:33:23 +00:00
|
|
|
<<: *unit_test_template
|
2016-11-01 11:30:42 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
UT_001_02:
|
2016-12-07 05:58:51 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
UT_001_03:
|
|
|
|
<<: *unit_test_template
|
2017-06-03 01:56:13 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_04:
|
|
|
|
<<: *unit_test_template
|
2016-09-26 06:32:58 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- UT_T1_1
|
2016-09-09 02:49:03 +00:00
|
|
|
|
2017-08-11 07:25:55 +00:00
|
|
|
UT_001_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
2017-08-11 07:25:55 +00:00
|
|
|
|
|
|
|
UT_001_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
2017-08-11 07:25:55 +00:00
|
|
|
|
2017-09-04 12:39:35 +00:00
|
|
|
UT_001_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2017-09-13 12:39:43 +00:00
|
|
|
|
|
|
|
UT_001_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2017-11-23 08:51:28 +00:00
|
|
|
UT_001_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-11 08:42:52 +00:00
|
|
|
UT_001_10:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_11:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_12:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_13:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_14:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_15:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
2017-09-13 12:39:43 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_16:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
2017-09-13 12:39:43 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_17:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_18:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_19:
|
2017-11-23 08:51:28 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_20:
|
2018-05-11 08:42:52 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_21:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_22:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_23:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_001_24:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-06-04 07:39:18 +00:00
|
|
|
UT_001_25:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_26:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_27:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-04-28 10:56:25 +00:00
|
|
|
UT_001_28:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_29:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2017-12-17 02:24:49 +00:00
|
|
|
UT_001_30:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-06-08 12:09:00 +00:00
|
|
|
UT_001_31:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-06-26 09:13:04 +00:00
|
|
|
|
|
|
|
UT_001_32:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_33:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_34:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-06-08 12:09:00 +00:00
|
|
|
|
2018-06-15 11:08:44 +00:00
|
|
|
UT_001_35:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
|
|
|
UT_001_36:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_002_01:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_002_02:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SDMODE
|
2017-09-13 12:39:43 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_002_03:
|
2017-09-13 12:39:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SDMODE
|
2017-09-04 12:39:35 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_003_01:
|
2017-11-05 13:50:43 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SPIMODE
|
2017-11-05 13:50:43 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_003_02:
|
2017-12-11 04:11:24 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SPIMODE
|
2017-12-11 04:11:24 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_003_03:
|
2018-05-11 08:42:52 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SPIMODE
|
2018-05-11 08:42:52 +00:00
|
|
|
|
2017-10-19 13:39:45 +00:00
|
|
|
UT_004_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-10-19 13:39:45 +00:00
|
|
|
|
|
|
|
UT_004_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2018-05-15 03:51:56 +00:00
|
|
|
- psram
|
2017-11-23 08:51:28 +00:00
|
|
|
|
2018-06-04 07:39:18 +00:00
|
|
|
UT_004_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
2017-12-17 02:24:49 +00:00
|
|
|
|
|
|
|
UT_004_10:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
2018-06-04 07:39:18 +00:00
|
|
|
|
2018-06-26 09:13:04 +00:00
|
|
|
UT_004_11:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_005_01:
|
2018-05-07 07:01:56 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SDMODE
|
|
|
|
- psram
|
2018-05-07 07:01:56 +00:00
|
|
|
|
2018-05-15 03:51:56 +00:00
|
|
|
UT_005_02:
|
2018-05-11 08:42:52 +00:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2018-05-15 03:51:56 +00:00
|
|
|
- UT_T1_SPIMODE
|
|
|
|
- psram
|
2018-05-11 08:42:52 +00:00
|
|
|
|
2017-12-17 02:19:51 +00:00
|
|
|
UT_006_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_GPIO
|
|
|
|
|
|
|
|
UT_006_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_GPIO
|
|
|
|
|
|
|
|
UT_006_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_GPIO
|
|
|
|
|
|
|
|
UT_006_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_GPIO
|
|
|
|
- psram
|
2017-12-17 02:22:22 +00:00
|
|
|
|
2018-06-06 11:56:43 +00:00
|
|
|
UT_007_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_PCNT
|
|
|
|
|
|
|
|
UT_007_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_PCNT
|
|
|
|
|
|
|
|
UT_007_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_PCNT
|
|
|
|
|
|
|
|
UT_007_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_PCNT
|
|
|
|
- psram
|
|
|
|
|
2017-12-17 02:22:22 +00:00
|
|
|
UT_008_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_LEDC
|
|
|
|
|
|
|
|
UT_008_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_LEDC
|
|
|
|
|
|
|
|
UT_008_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_LEDC
|
|
|
|
|
|
|
|
UT_008_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_LEDC
|
|
|
|
- psram
|
2017-12-17 02:19:51 +00:00
|
|
|
|
2018-01-02 12:17:49 +00:00
|
|
|
UT_010_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_RMT
|
|
|
|
|
|
|
|
UT_010_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_RMT
|
|
|
|
|
|
|
|
UT_010_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_RMT
|
|
|
|
|
|
|
|
UT_010_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_RMT
|
|
|
|
- psram
|
|
|
|
|
2018-06-04 14:00:26 +00:00
|
|
|
UT_011_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- EMMC
|
|
|
|
|
|
|
|
UT_011_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- EMMC
|
|
|
|
|
|
|
|
UT_011_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- EMMC
|
|
|
|
|
2018-08-05 13:18:31 +00:00
|
|
|
UT_601_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_01:
|
2016-09-09 02:49:03 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
2016-09-26 06:32:58 +00:00
|
|
|
- ESP32_IDF
|
2016-09-09 02:49:03 +00:00
|
|
|
- SSC_T1_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_02:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_03:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
2016-09-09 02:49:03 +00:00
|
|
|
tags:
|
2016-09-26 06:32:58 +00:00
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_04:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_05:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_06:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_07:
|
2016-09-26 06:32:58 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_001_08:
|
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 10:14:29 +00:00
|
|
|
|
2017-06-23 10:06:45 +00:00
|
|
|
IT_001_09:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_002_01:
|
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T1_2
|
2016-12-06 07:41:02 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_003_01:
|
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T2_1
|
2016-12-06 07:41:02 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_003_02:
|
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_003_03:
|
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T2_1
|
2016-12-06 07:41:02 +00:00
|
|
|
|
2017-06-23 10:06:45 +00:00
|
|
|
IT_003_04:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_05:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_06:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_07:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_003_08:
|
2017-05-05 12:20:31 +00:00
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-12-18 11:24:09 +00:00
|
|
|
- SSC_T2_1
|
2016-12-06 07:41:02 +00:00
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_003_09:
|
2017-05-05 12:20:31 +00:00
|
|
|
<<: *test_template
|
2016-12-06 07:41:02 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-12-18 11:24:09 +00:00
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_10:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_11:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_12:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
2016-12-06 07:41:02 +00:00
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_003_13:
|
2017-05-05 12:20:31 +00:00
|
|
|
<<: *test_template
|
2016-09-26 06:32:58 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-12-18 11:24:09 +00:00
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_14:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
2016-09-26 06:32:58 +00:00
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_004_01:
|
2016-09-29 04:07:35 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-12-18 11:24:09 +00:00
|
|
|
- SSC_T1_APC
|
2016-09-29 04:07:35 +00:00
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_005_01:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-12-18 11:24:09 +00:00
|
|
|
- SSC_T1_WEP
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-06-23 10:06:45 +00:00
|
|
|
IT_009_01:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_3
|
|
|
|
|
2017-12-18 11:24:09 +00:00
|
|
|
IT_010_01:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T5_1
|
|
|
|
|
2018-04-28 09:17:05 +00:00
|
|
|
IT_011_01:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T50_1
|
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_501_01:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T1_1
|
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_501_02:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T1_1
|
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_501_03:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
2016-09-26 06:32:58 +00:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-05-05 12:20:31 +00:00
|
|
|
- stress_test
|
2016-09-26 06:32:58 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_502_01:
|
2016-09-27 08:22:18 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2016-12-06 07:41:02 +00:00
|
|
|
- SSC_T2_1
|
2017-05-05 12:20:31 +00:00
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_502_02:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T2_1
|
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_503_01:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_503_02:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|
2016-09-28 11:48:38 +00:00
|
|
|
|
2017-05-05 12:20:31 +00:00
|
|
|
IT_503_03:
|
2016-09-28 11:48:38 +00:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 12:20:31 +00:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|