2022-07-20 03:11:55 -04:00
|
|
|
.target_test_template:
|
2022-01-31 01:20:59 -05:00
|
|
|
image: $TARGET_TEST_ENV_IMAGE
|
2021-11-19 03:11:47 -05:00
|
|
|
stage: target_test
|
2022-02-09 05:00:54 -05:00
|
|
|
timeout: 1 hour
|
2022-07-20 03:11:55 -04:00
|
|
|
variables:
|
|
|
|
GIT_DEPTH: 1
|
|
|
|
SUBMODULES_TO_FETCH: "none"
|
|
|
|
cache:
|
|
|
|
# Usually do not need submodule-cache in target_test
|
|
|
|
- key: pip-cache
|
|
|
|
paths:
|
|
|
|
- .cache/pip
|
|
|
|
policy: pull
|
|
|
|
|
|
|
|
.pytest_template:
|
|
|
|
extends:
|
|
|
|
- .target_test_template
|
2021-11-19 03:11:47 -05:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- XUNIT_RESULT.xml
|
2022-04-02 04:47:58 -04:00
|
|
|
- pytest_embedded_log/
|
2021-11-19 03:11:47 -05:00
|
|
|
reports:
|
|
|
|
junit: XUNIT_RESULT.xml
|
2022-02-09 05:00:54 -05:00
|
|
|
expire_in: 1 week
|
2021-11-19 03:11:47 -05:00
|
|
|
script:
|
2022-03-14 03:33:14 -04:00
|
|
|
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
|
2022-07-03 04:22:20 -04:00
|
|
|
# get runner env config file
|
|
|
|
- retry_failed git clone $TEST_ENV_CONFIG_REPO
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
|
2022-05-21 12:38:17 -04:00
|
|
|
# using runner tags as markers to filter the test cases
|
|
|
|
# Runner tags are comma separated, replace the comma with " and " for markers
|
|
|
|
- job_tags=$(python tools/ci/python_packages/gitlab_api.py get_job_tags $CI_PROJECT_ID --job_id $CI_JOB_ID)
|
|
|
|
- markers=$(echo $job_tags | sed -e "s/,/ and /g")
|
2022-10-20 08:35:05 -04:00
|
|
|
- run_cmd pytest $TEST_DIR
|
|
|
|
-m \"${markers}\"
|
|
|
|
--junitxml=XUNIT_RESULT.xml
|
|
|
|
--known-failure-cases-file known_failure_cases/known_failure_cases.txt
|
|
|
|
--parallel-count ${CI_NODE_TOTAL:-1}
|
|
|
|
--parallel-index ${CI_NODE_INDEX:-1}
|
2022-11-02 23:19:26 -04:00
|
|
|
${PYTEST_EXTRA_FLAGS}
|
2021-11-19 03:11:47 -05:00
|
|
|
|
|
|
|
.pytest_examples_dir_template:
|
|
|
|
extends: .pytest_template
|
|
|
|
variables:
|
|
|
|
TEST_DIR: examples
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_generic:
|
2021-11-19 03:11:47 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
2022-01-18 03:37:27 -05:00
|
|
|
- build_pytest_examples_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2021-11-19 03:11:47 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_esp32eco3:
|
2023-02-03 10:31:38 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, esp32eco3 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_ir_transceiver:
|
2022-04-07 01:10:57 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, ir_transceiver ]
|
2022-04-07 01:10:57 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_twai_transceiver:
|
2022-10-27 05:36:31 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, twai_transceiver ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_twai_network:
|
2022-10-27 05:36:31 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, twai_network ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_jtag:
|
2022-12-01 04:40:03 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
2022-12-06 20:34:18 -05:00
|
|
|
- build_pytest_examples_jtag
|
2022-12-01 04:40:03 -05:00
|
|
|
tags: [ esp32, jtag ]
|
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb openocd
|
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
|
|
|
|
2023-04-06 00:21:21 -04:00
|
|
|
pytest_examples_esp32_ccs811:
|
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2023-04-09 20:56:59 -04:00
|
|
|
- .rules:test:example_test-esp32-ccs811
|
2023-04-06 00:21:21 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, ccs811 ]
|
|
|
|
|
|
|
|
pytest_examples_esp32_sdio:
|
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32-sdio
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, sdio_master_slave ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s2_generic:
|
2021-11-30 22:32:50 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s2
|
|
|
|
needs:
|
2022-01-18 03:37:27 -05:00
|
|
|
- build_pytest_examples_esp32s2
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s2, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2021-11-30 22:32:50 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s2_jtag:
|
2023-02-01 07:54:02 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s2
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_jtag
|
|
|
|
tags: [ esp32s2, jtag ]
|
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb openocd
|
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_generic:
|
2022-03-25 00:24:51 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s3, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_usb_serial_jtag:
|
2023-02-01 07:54:02 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_jtag
|
|
|
|
tags: [ esp32s3, usb_serial_jtag ]
|
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb openocd
|
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_f4r8:
|
2022-09-19 00:25:30 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F4R8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c2_generic:
|
2022-05-19 14:42:46 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c2
|
2022-07-28 23:32:05 -04:00
|
|
|
tags: [ esp32c2, generic, xtal_40mhz ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2022-05-19 14:42:46 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c2_jtag:
|
2023-02-01 07:54:02 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_jtag
|
|
|
|
tags: [ esp32c2, jtag ]
|
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb openocd
|
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_generic:
|
2021-11-19 03:11:47 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3
|
|
|
|
needs:
|
2022-01-18 03:37:27 -05:00
|
|
|
- build_pytest_examples_esp32c3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32c3, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2021-11-19 03:11:47 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_usb_serial_jtag:
|
2023-02-01 07:54:02 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_jtag
|
|
|
|
tags: [ esp32c3, usb_serial_jtag ]
|
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb openocd
|
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_flash_suspend:
|
2022-01-05 04:05:57 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3
|
|
|
|
needs:
|
2022-01-18 03:37:27 -05:00
|
|
|
- build_pytest_examples_esp32c3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32c3, flash_suspend ]
|
2022-01-05 04:05:57 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c6_generic:
|
2022-11-09 02:28:20 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c6
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c6
|
|
|
|
tags: [ esp32c6, generic ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32h2_generic:
|
2023-01-19 01:47:44 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32h2
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32h2
|
|
|
|
tags: [ esp32h2, generic ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_ethernet_ota:
|
2022-03-24 00:20:24 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-ethernet
|
2022-03-24 00:20:24 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-07-06 12:34:06 -04:00
|
|
|
tags: [ esp32, ethernet_ota ]
|
2022-03-24 00:20:24 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_high_traffic:
|
2022-04-22 05:28:53 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-wifi
|
2022-04-22 05:28:53 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-07-06 12:34:06 -04:00
|
|
|
tags: [ esp32, wifi_high_traffic ]
|
2022-04-22 05:28:53 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_flash_encryption_wifi_high_traffic:
|
2022-04-22 05:28:53 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-include_nightly_run-rule
|
2022-04-22 05:28:53 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-07-06 12:34:06 -04:00
|
|
|
tags: [ esp32, flash_encryption_wifi_high_traffic ]
|
2022-04-22 05:28:53 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_flash_encryption_wifi_high_traffic:
|
2022-04-22 05:28:53 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32c3-include_nightly_run-rule
|
2022-04-22 05:28:53 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
2022-07-06 12:34:06 -04:00
|
|
|
tags: [ esp32c3, flash_encryption_wifi_high_traffic ]
|
2022-04-22 05:28:53 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_ethernet:
|
2022-04-22 05:28:53 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-ethernet
|
2022-04-22 05:28:53 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, ethernet]
|
2022-04-22 05:28:53 -04:00
|
|
|
|
2023-07-18 00:38:03 -04:00
|
|
|
pytest_examples_esp32_ethernet_httpbin:
|
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32-ethernet
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, httpbin]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_8mb_flash:
|
2022-04-22 05:28:53 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, ethernet_flash_8m ]
|
2022-04-22 05:28:53 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_ap:
|
2022-05-10 05:31:03 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-wifi
|
2022-05-10 05:31:03 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-07-06 12:34:06 -04:00
|
|
|
tags: [ esp32, wifi_ap ]
|
2022-07-03 04:22:20 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_wifi_ap:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
|
|
|
tags: [ esp32c3, wifi_ap ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_wifi_ap:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, wifi_ap ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_router:
|
2022-07-03 04:22:20 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-wifi
|
2022-07-03 04:22:20 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, wifi_router ]
|
2022-05-10 05:31:03 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_wifi_router:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
|
|
|
tags: [ esp32c3, wifi_router ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_wifi_router:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, wifi_router ]
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_iperf:
|
2022-12-20 09:38:48 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, Example_ShieldBox_Basic ]
|
2022-12-07 05:07:07 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_wlan:
|
2022-05-10 05:42:17 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-wifi
|
2022-05-10 05:42:17 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-07-03 04:22:20 -04:00
|
|
|
tags: [ esp32, wifi_wlan ]
|
2022-05-10 05:42:17 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_ethernet_router:
|
2022-12-20 09:38:48 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32-ethernet
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, ethernet_router ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_flash_encryption:
|
2022-04-14 00:54:04 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, flash_encryption ]
|
2022-04-14 00:54:04 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_wifi_two_dut:
|
2022-05-07 00:18:56 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2022-10-13 06:32:28 -04:00
|
|
|
- .rules:test:example_test-esp32-wifi
|
2022-05-07 00:18:56 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
2022-10-13 06:32:28 -04:00
|
|
|
tags: [ esp32, wifi_two_dut ]
|
2022-05-07 00:18:56 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_wifi_two_dut:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
|
|
|
tags: [ esp32c3, wifi_two_dut ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_wifi_two_dut:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, wifi_two_dut ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c2_wifi_two_dut:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c2-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c2
|
|
|
|
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_flash_encryption:
|
2022-04-14 00:54:04 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32c3, flash_encryption ]
|
2022-04-14 00:54:04 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s2_usb_device:
|
2022-07-22 04:20:21 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s2-usb
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s2
|
|
|
|
tags: [ esp32s2, usb_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_sdmmc:
|
2022-10-03 10:19:52 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, sdcard_sdmode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_sdspi:
|
2022-10-03 10:19:52 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:example_test-esp32-sdio
|
2022-10-03 10:19:52 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s2_sdspi:
|
2022-10-03 10:19:52 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:example_test-esp32s2-sdio
|
2022-10-03 10:19:52 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s2
|
|
|
|
tags: [ esp32s2, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_sdspi:
|
2022-10-03 10:19:52 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:example_test-esp32c3-sdio
|
2022-10-03 10:19:52 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
|
|
|
tags: [ esp32c3, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_extflash:
|
2022-10-03 10:19:52 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, external_flash ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32_adc:
|
2022-12-20 23:07:35 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32
|
|
|
|
tags: [ esp32, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s2_adc:
|
2022-12-20 23:07:35 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s2-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s2
|
|
|
|
tags: [ esp32s2, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32s3_adc:
|
2022-12-20 23:07:35 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c3_adc:
|
2022-12-20 23:07:35 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c3-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c3
|
|
|
|
tags: [ esp32c3, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c2_adc:
|
2022-12-20 23:07:35 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c2-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c2
|
|
|
|
tags: [ esp32c2, adc, xtal_26mhz]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32c6_adc:
|
2022-12-22 22:56:34 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32c6-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32c6
|
|
|
|
tags: [ esp32c6, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_esp32h2_adc:
|
2023-02-02 01:46:44 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32h2-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32h2
|
|
|
|
tags: [ esp32h2, adc ]
|
2023-04-13 22:21:43 -04:00
|
|
|
|
2022-12-22 02:49:03 -05:00
|
|
|
example_test_pytest_esp32s3_emmc:
|
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
|
|
|
tags: [ esp32s3, emmc ]
|
2023-02-02 01:46:44 -05:00
|
|
|
|
2022-01-18 23:12:15 -05:00
|
|
|
.pytest_components_dir_template:
|
|
|
|
extends: .pytest_template
|
|
|
|
variables:
|
|
|
|
TEST_DIR: components
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_generic:
|
2022-01-18 23:12:15 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 7
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_generic_multi_device:
|
2022-09-16 00:10:40 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_wifi_two_dut:
|
2022-11-04 09:56:04 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, wifi_two_dut ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_adc:
|
2022-09-12 23:35:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2022-09-14 07:00:52 -04:00
|
|
|
- .rules:test:component_ut-esp32-adc
|
2022-09-12 23:35:13 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_sdio:
|
2022-11-13 22:34:21 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-02 00:53:27 -05:00
|
|
|
- .rules:test:component_ut-esp32-sdio
|
2022-11-13 22:34:21 -05:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, sdio_master_slave ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_lan8720:
|
2022-01-18 23:12:15 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2022-01-18 23:12:15 -05:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
tags: [ esp32, eth_lan8720 ]
|
|
|
|
|
|
|
|
pytest_components_esp32_rtl8201:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_rtl8201 ]
|
|
|
|
|
|
|
|
pytest_components_esp32_w5500:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_w5500 ]
|
|
|
|
|
|
|
|
pytest_components_esp32_ksz8851snl:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_ksz8851snl ]
|
|
|
|
|
|
|
|
pytest_components_esp32_dm9051:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_dm9051 ]
|
|
|
|
|
|
|
|
pytest_components_esp32_ksz8041:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_ksz8041 ]
|
|
|
|
|
|
|
|
pytest_components_esp32_dp83848:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-10-13 09:14:56 -04:00
|
|
|
- .rules:test:component_ut-esp32
|
2023-10-31 15:27:30 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, eth_dp83848 ]
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_ethernet:
|
2022-11-08 11:54:39 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, ethernet ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_flash_encryption:
|
2022-07-14 00:29:43 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, flash_encryption ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_flash_multi:
|
2022-08-22 22:10:32 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-01 23:45:05 -05:00
|
|
|
- .rules:test:component_ut-esp32-flash_multi
|
2022-08-22 22:10:32 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
2023-01-31 02:49:43 -05:00
|
|
|
tags: [ esp32, flash_multi ]
|
2022-08-22 22:10:32 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_xtal32k:
|
2022-10-25 04:20:44 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, xtal32k ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_no32kXtal:
|
2022-10-25 04:20:44 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, no32kXtal ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_rs485_multi:
|
2022-11-10 04:52:06 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, multi_dut_modbus_rs485 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_psramv0:
|
2022-10-25 04:20:44 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, psramv0 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s2_generic:
|
2022-01-18 23:12:15 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s2
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s2, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 5
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s2_generic_multi_device:
|
2022-09-16 00:10:40 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s2
|
|
|
|
tags: [ esp32s2, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s2_adc:
|
2022-09-12 23:35:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2022-09-14 07:00:52 -04:00
|
|
|
- .rules:test:component_ut-esp32s2-adc
|
2022-09-12 23:35:13 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s2
|
|
|
|
tags: [ esp32s2, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s2_flash_multi:
|
2022-08-22 22:10:32 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-01 23:45:05 -05:00
|
|
|
- .rules:test:component_ut-esp32s2-flash_multi
|
2022-08-22 22:10:32 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s2
|
2023-01-31 02:49:43 -05:00
|
|
|
tags: [ esp32s2, flash_multi ]
|
2022-08-22 22:10:32 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_generic:
|
2022-03-25 00:24:51 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s3, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 5
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_generic_multi_device:
|
2022-09-16 00:10:40 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_adc:
|
2022-09-12 23:35:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2022-09-14 07:00:52 -04:00
|
|
|
- .rules:test:component_ut-esp32s3-adc
|
2022-09-12 23:35:13 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_octal_psram:
|
2021-09-23 00:06:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s3, octal_psram ]
|
2021-09-23 00:06:13 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_flash_encryption_f4r8:
|
2022-07-14 00:29:43 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, flash_encryption_f4r8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_flash_encryption_f8r8:
|
2022-07-14 00:29:43 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, flash_encryption_f8r8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_flash_multi:
|
2022-08-22 22:10:32 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-01 23:45:05 -05:00
|
|
|
- .rules:test:component_ut-esp32s3-flash_multi
|
2022-08-22 22:10:32 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
2023-01-31 02:49:43 -05:00
|
|
|
tags: [ esp32s3, flash_multi ]
|
2022-08-22 22:10:32 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_mspi_f4r4:
|
2023-02-24 06:57:04 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F4R4 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_mspi_f4r8:
|
2023-02-24 06:57:04 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F4R8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_mspi_f8r8:
|
2023-02-24 06:57:04 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F8R8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c2_generic:
|
2022-05-19 14:42:46 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c2
|
2022-07-19 02:19:44 -04:00
|
|
|
tags: [ esp32c2, generic, xtal_40mhz ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2022-05-19 14:42:46 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c2_adc:
|
2022-09-12 23:35:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2022-09-14 07:00:52 -04:00
|
|
|
- .rules:test:component_ut-esp32c2-adc
|
2022-09-12 23:35:13 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c2
|
2022-12-20 08:11:17 -05:00
|
|
|
tags: [ esp32c2, adc, xtal_26mhz ]
|
2022-09-12 23:35:13 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c2_generic_multi_device:
|
2022-11-01 23:39:29 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c2
|
|
|
|
tags: [ esp32c2, generic_multi_device, xtal_40mhz ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c2_xtal_26mhz:
|
2022-07-10 23:53:21 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c2
|
2022-12-20 08:11:17 -05:00
|
|
|
tags: [ esp32c2, generic, xtal_26mhz ]
|
2022-07-10 23:53:21 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_generic:
|
2022-01-18 23:12:15 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32c3, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 3
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_generic_multi_device:
|
2022-09-16 00:10:40 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
|
|
|
tags: [ esp32c3, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_wifi_two_dut:
|
2022-11-04 09:56:04 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
|
|
|
tags: [ esp32c3, wifi_two_dut ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_wifi_two_dut:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, wifi_two_dut ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c2_wifi_two_dut:
|
2022-12-07 05:07:07 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c2-wifi
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c2
|
|
|
|
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_adc:
|
2022-09-12 23:35:13 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2022-09-14 07:00:52 -04:00
|
|
|
- .rules:test:component_ut-esp32c3-adc
|
2022-09-12 23:35:13 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
|
|
|
tags: [ esp32c3, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_flash_encryption:
|
2022-07-14 00:29:43 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
|
|
|
tags: [ esp32c3, flash_encryption ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_flash_multi:
|
2022-08-22 22:10:32 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-01 23:45:05 -05:00
|
|
|
- .rules:test:component_ut-esp32c3-flash_multi
|
2022-08-22 22:10:32 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
2023-01-31 02:49:43 -05:00
|
|
|
tags: [ esp32c3, flash_multi ]
|
2022-08-22 22:10:32 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_sdmmc:
|
2022-10-03 07:22:19 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, sdcard_sdmode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32_sdspi:
|
2022-10-03 07:22:19 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:component_ut-esp32-sdio
|
2022-10-03 07:22:19 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32
|
|
|
|
tags: [ esp32, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s2_sdspi:
|
2022-10-03 07:22:19 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:component_ut-esp32s2-sdio
|
2022-10-03 07:22:19 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s2
|
|
|
|
tags: [ esp32s2, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c3_sdspi:
|
2022-10-03 07:22:19 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-13 03:00:50 -05:00
|
|
|
- .rules:test:component_ut-esp32c3-sdio
|
2022-10-03 07:22:19 -04:00
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c3
|
|
|
|
tags: [ esp32c3, sdcard_spimode ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c6_generic:
|
2022-11-09 02:28:20 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c6
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c6
|
|
|
|
tags: [ esp32c6, generic ]
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 2
|
2022-11-09 02:28:20 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32h2_generic:
|
2023-01-19 01:47:44 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32h2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32h2
|
|
|
|
tags: [ esp32h2, generic ]
|
|
|
|
parallel: 2
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32h2_generic_multi_device:
|
2023-02-27 03:31:26 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32h2
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32h2
|
|
|
|
tags: [ esp32h2, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32h2_adc:
|
2023-02-02 01:46:44 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32h2-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32h2
|
|
|
|
tags: [ esp32h2, adc ]
|
|
|
|
|
2023-04-06 02:50:44 -04:00
|
|
|
component_ut_pytest_esp32h2_ecdsa:
|
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32h2-ecdsa
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32h2
|
|
|
|
tags: [ esp32h2, ecdsa_efuse ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c6_generic_multi_device:
|
2022-12-01 23:57:31 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c6
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c6
|
|
|
|
tags: [ esp32c6, generic_multi_device ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c6_adc:
|
2022-12-22 22:56:34 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32c6-adc
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32c6
|
|
|
|
tags: [ esp32c6, adc ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32c6_i154:
|
2022-09-27 05:22:34 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
2023-02-16 04:21:40 -05:00
|
|
|
- .rules:test:component_ut-esp32c6-i154
|
2022-09-27 05:22:34 -04:00
|
|
|
needs:
|
2023-02-16 04:21:40 -05:00
|
|
|
- build_pytest_components_esp32c6
|
|
|
|
tags: [ esp32c6, ieee802154 ]
|
2022-09-27 05:22:34 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_examples_openthread_br:
|
2022-08-16 22:57:39 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_examples_dir_template
|
|
|
|
- .rules:test:example_test-i154
|
|
|
|
needs:
|
|
|
|
- build_pytest_examples_esp32s3
|
2023-01-11 04:11:32 -05:00
|
|
|
- build_pytest_examples_esp32c6
|
2023-03-08 22:46:07 -05:00
|
|
|
- build_pytest_examples_esp32h2
|
2022-08-16 22:57:39 -04:00
|
|
|
tags:
|
2023-03-22 04:26:29 -04:00
|
|
|
- esp32c6
|
2023-01-11 04:11:32 -05:00
|
|
|
- openthread_br
|
2022-08-16 22:57:39 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_components_esp32s3_usb_host:
|
2022-10-06 17:16:54 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_components_dir_template
|
|
|
|
- .rules:test:component_ut-esp32s3-usb
|
|
|
|
needs:
|
|
|
|
- build_pytest_components_esp32s3
|
|
|
|
tags: [ esp32s3, usb_host_flash_disk ]
|
|
|
|
|
2022-02-11 02:47:32 -05:00
|
|
|
.pytest_test_apps_dir_template:
|
|
|
|
extends: .pytest_template
|
|
|
|
variables:
|
|
|
|
TEST_DIR: tools/test_apps
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32_generic:
|
2022-02-11 02:47:32 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32, generic ]
|
2022-02-11 02:47:32 -05:00
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32_jtag:
|
2022-07-22 12:23:09 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32
|
2022-12-01 04:40:03 -05:00
|
|
|
tags: [ esp32, jtag]
|
2022-07-22 12:23:09 -04:00
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb
|
2022-11-02 23:19:26 -04:00
|
|
|
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
|
2022-07-22 12:23:09 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32s2_generic:
|
2022-02-11 02:47:32 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32s2
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32s2
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s2, generic ]
|
2022-02-11 02:47:32 -05:00
|
|
|
variables:
|
|
|
|
SETUP_TOOLS: "1" # need gdb
|
2022-03-07 22:36:57 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32s3_generic:
|
2022-03-25 00:24:51 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32s3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32s3, generic ]
|
2022-03-07 22:36:57 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32c2_generic:
|
2022-05-19 14:42:46 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32c2
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32c2
|
2022-07-19 02:19:44 -04:00
|
|
|
tags: [ esp32c2, generic, xtal_40mhz ]
|
2022-05-19 14:42:46 -04:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32c3_generic:
|
2022-03-07 22:36:57 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32c3
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32c3
|
2022-05-21 12:38:17 -04:00
|
|
|
tags: [ esp32c3, generic ]
|
2022-02-11 02:47:32 -05:00
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32c6_generic:
|
2022-11-09 02:28:20 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32c6
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32c6
|
|
|
|
tags: [ esp32c6, generic ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32h2_generic:
|
2023-01-19 01:47:44 -05:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32h2
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32h2
|
|
|
|
tags: [ esp32h2, generic ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32s3_mspi_f8r8:
|
2022-07-21 00:23:22 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F8R8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32s3_mspi_f4r8:
|
2022-07-21 00:23:22 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F4R8 ]
|
|
|
|
|
2023-04-05 23:10:41 -04:00
|
|
|
pytest_test_apps_esp32s3_mspi_f4r4:
|
2022-07-21 00:23:22 -04:00
|
|
|
extends:
|
|
|
|
- .pytest_test_apps_dir_template
|
|
|
|
- .rules:test:custom_test-esp32s3
|
|
|
|
needs:
|
|
|
|
- build_pytest_test_apps_esp32s3
|
|
|
|
tags: [ esp32s3, MSPI_F4R4 ]
|
|
|
|
|
2019-06-28 12:39:21 -04:00
|
|
|
# for parallel jobs, CI_JOB_NAME will be "job_name index/total" (for example, "IT_001 1/2")
|
|
|
|
# we need to convert to pattern "job_name_index.yml"
|
|
|
|
.define_config_file_name: &define_config_file_name |
|
2020-09-26 23:20:53 -04:00
|
|
|
JOB_NAME_PREFIX=$(echo ${CI_JOB_NAME} | awk '{print $1}')
|
|
|
|
JOB_FULL_NAME="${JOB_NAME_PREFIX}_${CI_NODE_INDEX}"
|
|
|
|
CONFIG_FILE="${CONFIG_FILE_PATH}/${JOB_FULL_NAME}.yml"
|
2019-06-28 12:39:21 -04:00
|
|
|
|
2020-09-26 23:20:53 -04:00
|
|
|
.target_test_job_template:
|
2022-07-20 03:11:55 -04:00
|
|
|
extends:
|
|
|
|
- .target_test_template
|
2019-06-28 12:39:21 -04:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
2021-06-02 22:34:51 -04:00
|
|
|
- "**/*.log"
|
2019-06-28 12:39:21 -04:00
|
|
|
- $LOG_PATH
|
2022-01-20 07:56:38 -05:00
|
|
|
exclude:
|
|
|
|
- .git/**/*
|
2019-06-28 12:39:21 -04:00
|
|
|
reports:
|
2020-09-26 23:20:53 -04:00
|
|
|
junit: $LOG_PATH/*/XUNIT_RESULT.xml
|
2022-02-09 05:00:54 -05:00
|
|
|
expire_in: 1 week
|
2019-06-28 12:39:21 -04:00
|
|
|
variables:
|
2020-09-26 23:20:53 -04:00
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
2019-06-28 12:39:21 -04:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
|
|
|
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
|
|
|
script:
|
|
|
|
- *define_config_file_name
|
|
|
|
# first test if config file exists, if not exist, exit 0
|
2021-04-09 05:14:58 -04:00
|
|
|
- |
|
|
|
|
{ [[ -e $CONFIG_FILE ]]; } || { echo 'No config file found. Consider decreasing the parallel count of this job in ".gitlab/ci/target-test.yml"'; exit 0; }
|
2019-06-28 12:39:21 -04:00
|
|
|
# clone test env configs
|
2020-09-26 23:20:53 -04:00
|
|
|
- retry_failed git clone $TEST_ENV_CONFIG_REPO
|
2019-06-28 12:39:21 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
|
2021-01-25 04:27:16 -05:00
|
|
|
# git clone the known failure cases repo, run test
|
|
|
|
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
|
2019-06-28 12:39:21 -04:00
|
|
|
# run test
|
2021-01-25 04:27:16 -05:00
|
|
|
- cd tools/ci/python_packages/tiny_test_fw/bin
|
|
|
|
- run_cmd python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE --known_failure_cases_file $CI_PROJECT_DIR/known_failure_cases/known_failure_cases.txt
|
2019-11-27 04:04:13 -05:00
|
|
|
|
2020-09-26 23:20:53 -04:00
|
|
|
.example_test_template:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .target_test_job_template
|
2022-01-06 10:21:21 -05:00
|
|
|
needs:
|
|
|
|
- assign_example_test
|
2019-11-26 00:16:25 -05:00
|
|
|
variables:
|
|
|
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
|
|
|
|
CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/examples/test_configs"
|
2019-06-28 12:39:21 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.example_test_esp32_template:
|
|
|
|
extends:
|
|
|
|
- .example_test_template
|
|
|
|
- .rules:test:example_test-esp32
|
|
|
|
|
2021-03-12 01:05:17 -05:00
|
|
|
.example_test_esp32c3_template:
|
|
|
|
extends:
|
|
|
|
- .example_test_template
|
2021-10-22 03:19:19 -04:00
|
|
|
- .rules:test:example_test-esp32c3
|
2021-03-12 01:05:17 -05:00
|
|
|
|
2020-06-11 02:22:05 -04:00
|
|
|
example_test_001C:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .example_test_esp32_template
|
2020-06-11 02:22:05 -04:00
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_GENERIC
|
|
|
|
|
2019-06-28 12:39:21 -04:00
|
|
|
example_test_005:
|
2022-07-08 05:47:59 -04:00
|
|
|
extends:
|
|
|
|
- .example_test_esp32_template
|
2022-07-17 09:43:41 -04:00
|
|
|
- .rules:test:example_test-esp32-bt
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_WIFI_BT
|
|
|
|
|
2021-03-12 01:05:17 -05:00
|
|
|
example_test_C3_GENERIC:
|
|
|
|
extends: .example_test_esp32c3_template
|
|
|
|
tags:
|
|
|
|
- ESP32C3
|
|
|
|
- Example_GENERIC
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.unit_test_template:
|
|
|
|
extends: .target_test_job_template
|
2022-01-06 10:21:21 -05:00
|
|
|
needs: # the assign already needs all the build jobs
|
|
|
|
- assign_unit_test
|
2021-02-08 23:31:38 -05:00
|
|
|
variables:
|
2022-07-03 04:22:20 -04:00
|
|
|
GIT_DEPTH: 1
|
2021-02-08 23:31:38 -05:00
|
|
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/tools/unit-test-app"
|
2022-01-06 10:21:21 -05:00
|
|
|
CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/components/idf_test/unit_test/test_configs"
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.unit_test_esp32_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32
|
|
|
|
|
|
|
|
.unit_test_esp32s2_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32s2
|
|
|
|
|
2021-06-07 06:17:13 -04:00
|
|
|
.unit_test_esp32s3_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32s3
|
|
|
|
|
2022-05-19 14:42:46 -04:00
|
|
|
.unit_test_esp32c2_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32c2
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.unit_test_esp32c3_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32c3
|
|
|
|
|
2022-11-09 02:28:20 -05:00
|
|
|
.unit_test_esp32c6_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32c6
|
|
|
|
|
2023-01-19 01:47:44 -05:00
|
|
|
.unit_test_esp32h2_template:
|
|
|
|
extends:
|
|
|
|
- .unit_test_template
|
|
|
|
- .rules:test:unit_test-esp32h2
|
|
|
|
|
2019-06-28 12:39:21 -04:00
|
|
|
UT_001:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 16
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2019-07-10 08:19:13 -04:00
|
|
|
# Max. allowed value of 'parallel' is 50.
|
|
|
|
|
2019-06-28 12:39:21 -04:00
|
|
|
UT_002:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2022-11-28 02:56:45 -05:00
|
|
|
parallel: 7
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- psram
|
|
|
|
|
|
|
|
UT_003:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
|
|
|
|
UT_004:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
|
|
|
|
UT_005:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
- psram
|
|
|
|
|
|
|
|
UT_006:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
- psram
|
|
|
|
|
2023-04-17 22:07:54 -04:00
|
|
|
.UT_017:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- EMMC
|
|
|
|
|
|
|
|
UT_028:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-06-28 12:39:21 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T2_1
|
|
|
|
- psram
|
|
|
|
|
2019-09-18 23:27:42 -04:00
|
|
|
UT_033:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-09-18 23:27:42 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T2_Ethernet
|
|
|
|
- psram
|
|
|
|
|
2019-10-16 00:16:46 -04:00
|
|
|
UT_034:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32_template
|
2019-09-04 09:09:30 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_ESP_FLASH
|
|
|
|
|
2020-01-21 23:05:33 -05:00
|
|
|
UT_035:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32s2_template
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 16
|
2019-10-16 00:16:46 -04:00
|
|
|
tags:
|
2020-01-16 22:47:08 -05:00
|
|
|
- ESP32S2_IDF
|
2019-10-16 00:16:46 -04:00
|
|
|
- UT_T1_1
|
|
|
|
|
2020-04-03 11:52:07 -04:00
|
|
|
UT_038:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32s2_template
|
2020-04-03 11:52:07 -04:00
|
|
|
tags:
|
|
|
|
- ESP32S2_IDF
|
|
|
|
- UT_T1_ESP_FLASH
|
|
|
|
|
2021-09-22 22:57:05 -04:00
|
|
|
UT_S2_SDSPI:
|
2023-02-13 03:00:50 -05:00
|
|
|
extends:
|
|
|
|
- .unit_test_esp32s2_template
|
|
|
|
- .rules:test:unit_test-esp32s2-sdio
|
2021-09-22 22:57:05 -04:00
|
|
|
tags:
|
|
|
|
- ESP32S2_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
|
2022-05-19 14:42:46 -04:00
|
|
|
UT_C2:
|
|
|
|
extends: .unit_test_esp32c2_template
|
2022-11-28 02:56:45 -05:00
|
|
|
parallel: 8
|
2022-05-19 14:42:46 -04:00
|
|
|
tags:
|
|
|
|
- ESP32C2_IDF
|
|
|
|
- UT_T1_1
|
2022-07-19 02:19:44 -04:00
|
|
|
- xtal_40mhz
|
2022-05-19 14:42:46 -04:00
|
|
|
|
2022-08-22 22:10:32 -04:00
|
|
|
UT_C2_FLASH:
|
|
|
|
extends:
|
|
|
|
- .unit_test_esp32c2_template
|
|
|
|
tags:
|
|
|
|
- ESP32C2_IDF
|
|
|
|
- UT_T1_ESP_FLASH
|
|
|
|
- xtal_40mhz
|
|
|
|
|
2020-12-30 03:10:37 -05:00
|
|
|
UT_C3:
|
2021-02-08 23:31:38 -05:00
|
|
|
extends: .unit_test_esp32c3_template
|
2022-11-28 02:56:45 -05:00
|
|
|
parallel: 11
|
2020-12-30 03:10:37 -05:00
|
|
|
tags:
|
|
|
|
- ESP32C3_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2021-01-22 05:04:27 -05:00
|
|
|
UT_C3_FLASH:
|
2023-02-01 23:45:05 -05:00
|
|
|
extends:
|
|
|
|
- .unit_test_esp32c3_template
|
|
|
|
- .rules:test:unit_test-esp32c3-flash_multi
|
2021-01-22 05:04:27 -05:00
|
|
|
tags:
|
|
|
|
- ESP32C3_IDF
|
|
|
|
- UT_T1_ESP_FLASH
|
|
|
|
|
2021-09-22 22:57:05 -04:00
|
|
|
UT_C3_SDSPI:
|
2023-02-13 03:00:50 -05:00
|
|
|
extends:
|
|
|
|
- .unit_test_esp32c3_template
|
|
|
|
- .rules:test:unit_test-esp32c3-sdio
|
2021-09-22 22:57:05 -04:00
|
|
|
tags:
|
|
|
|
- ESP32C3_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
|
2022-11-09 02:28:20 -05:00
|
|
|
UT_C6:
|
|
|
|
extends: .unit_test_esp32c6_template
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 8
|
2022-11-09 02:28:20 -05:00
|
|
|
tags:
|
|
|
|
- ESP32C6_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2023-01-19 01:47:44 -05:00
|
|
|
UT_H2:
|
|
|
|
extends: .unit_test_esp32h2_template
|
|
|
|
parallel: 5
|
|
|
|
tags:
|
|
|
|
- ESP32H2_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
|
2022-03-25 00:24:51 -04:00
|
|
|
UT_S3:
|
|
|
|
extends: .unit_test_esp32s3_template
|
2023-01-09 23:28:00 -05:00
|
|
|
parallel: 9
|
2022-03-25 00:24:51 -04:00
|
|
|
tags:
|
|
|
|
- ESP32S3_IDF
|
|
|
|
- UT_T1_1
|
2021-06-07 06:17:13 -04:00
|
|
|
|
2022-11-28 02:56:45 -05:00
|
|
|
UT_S3_FLASH:
|
2022-05-12 09:36:44 -04:00
|
|
|
extends: .unit_test_esp32s3_template
|
|
|
|
tags:
|
|
|
|
- ESP32S3_IDF
|
2022-11-28 02:56:45 -05:00
|
|
|
- UT_T1_ESP_FLASH
|
2022-05-12 09:36:44 -04:00
|
|
|
|
2022-11-28 02:56:45 -05:00
|
|
|
|
|
|
|
UT_S3_QUAD_PSRAM:
|
2021-06-21 07:43:51 -04:00
|
|
|
extends: .unit_test_esp32s3_template
|
2022-11-28 02:56:45 -05:00
|
|
|
parallel: 2
|
2021-06-21 07:43:51 -04:00
|
|
|
tags:
|
|
|
|
- ESP32S3_IDF
|
2022-11-28 02:56:45 -05:00
|
|
|
- UT_T1_1
|
|
|
|
- quad_psram
|