GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — esptool/.gitlab/target_tests.yml at master · espressif/esptool Expand file tree/ Copy pathtarget_tests.ymlMore file actions 240 lines (214 loc) · 5.79 KB / Copy pathtarget_tests.ymlFile metadata and controls240 lines (214 loc) · 5.79 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 .target_test: image: $PYTHON_IMAGE_MIN stage: test tags: [host_test] variables: PYTHONPATH: "$PYTHONPATH:${CI_PROJECT_DIR}/test" COVERAGE_PROCESS_START: "${CI_PROJECT_DIR}/test/.covconf" TOOL: "test_esptool.py" EXTRA_ARGS: "" before_script: - pip install -e .[dev] --prefer-binary # libffi (needed for espsecure) version keeps changing in python docker images. Add a symlink to the installed version on Raspberry Pi - if [ $(uname -m) = "armv7l" ]; then ln -sfn /usr/lib/arm-linux-gnueabihf/libffi.so.7.1.0 /usr/lib/arm-linux-gnueabihf/libffi.so.6; fi script: # The positional parameters keep the quoting of -m, and both branches run # the same tests. The canary branch is explained in ci/canary_pytest.py. - | set -- ${CI_PROJECT_DIR}/test/${TOOL} --port /dev/serial_ports/${PORT} ${EXTRA_ARGS} --chip ${TARGET} --baud 115200 -m "not host_test" if [ "$STUB_CANARY" = "1" ]; then python ci/canary_pytest.py "$@" else coverage run --parallel-mode -m pytest "$@" fi # canary_pytest.py exits with 75 when the failed tests also fail with the # committed stubs. pytest and coverage never return 75. allow_failure: exit_codes: [75] # These failures end within seconds and say nothing about the code. Timeouts # are left out: the 60 min timeouts on esp32 and esp8266 came from boards # dropping mid-run, and a retry costs another hour. Outside the stub canary, # serial-link and port-lock test failures are rerun inside the job by the flaky # marks in test_esptool.py (see .gitlab/README.md, Retries). retry: max: 1 when: [runner_system_failure, scheduler_failure, api_failure] artifacts: reports: junit: test/report.xml when: always paths: - test/*.out - test/report-*.xml # Read by ci/canary_open_issue.py; written only in the canary. - test/canary-outcome.txt - "**/.coverage*" - ".coverage*" expire_in: 1 week target_esp8266: extends: .target_test variables: PORT: esp8266 TARGET: esp8266 tags: [esptool-esp8266] target_esp32: extends: .target_test variables: PORT: esp32 TARGET: esp32 tags: [esptool-esp32] target_esp32s2: extends: .target_test variables: PORT: esp32s2 TARGET: esp32s2 tags: [esptool-esp32s2] target_esp32s2_otg: extends: .target_test variables: PORT: esp32s2-otg TARGET: esp32s2 ESPTOOL_TEST_USB_OTG: "1" tags: [esptool-esp32s2-otg] target_esp32c3: extends: .target_test variables: PORT: esp32c3 TARGET: esp32c3 ESPTOOL_TEST_SPI_CONN: "6,2,7,4,10" tags: [esptool-esp32c3] target_esp32c3_usj: extends: .target_test variables: PORT: esp32c3-usj TARGET: esp32c3 EXTRA_ARGS: "--preload-port /dev/serial_ports/esp32c3-preload" tags: [esptool-esp32c3-usj] target_esp32s3: extends: .target_test variables: PORT: esp32s3 TARGET: esp32s3 tags: [esptool-esp32s3] target_esp32s3_32mb_octal: extends: .target_test variables: PORT: esp32s3-32mb TARGET: esp32s3 ESPTOOL_TEST_FLASH_SIZE: "32" tags: [esptool-esp32s3-32mb-octal] target_esp32s3_32mb_quad: extends: .target_test variables: PORT: esp32s3-32mb TARGET: esp32s3 ESPTOOL_TEST_FLASH_SIZE: "32" tags: [esptool-esp32s3-32mb-quad] target_esp32s3_otg: extends: .target_test variables: PORT: esp32s3-otg TARGET: esp32s3 ESPTOOL_TEST_USB_OTG: "1" tags: [esptool-esp32s3-otg] target_esp32s3_usj: extends: .target_test variables: PORT: esp32s3-usj TARGET: esp32s3 EXTRA_ARGS: "--preload-port /dev/serial_ports/esp32s3-preload" ESPTOOL_TEST_SPI_CONN: "12,13,11,9,10" tags: [esptool-esp32s3-usj] target_esp32s3_sdm: extends: .target_test variables: PORT: esp32s3-sdm TARGET: esp32s3 TOOL: test_esptool_sdm.py tags: [esptool-esp32s3-sdm] target_esp32c2_40mhz: extends: .target_test variables: PORT: esp32c2-40mhz TARGET: esp32c2 tags: [esptool-esp32c2-40mhz] target_esp32c2_26mhz: extends: .target_test variables: PORT: esp32c2-26mhz TARGET: esp32c2 tags: [esptool-esp32c2-26mhz] target_esp32c6: extends: .target_test variables: PORT: esp32c6 TARGET: esp32c6 tags: [esptool-esp32c6] target_esp32c6_usj: extends: .target_test variables: PORT: esp32c6-usj TARGET: esp32c6 EXTRA_ARGS: "--preload-port /dev/serial_ports/esp32c6-preload" tags: [esptool-esp32c6-usj] target_esp32h2: extends: .target_test variables: PORT: esp32h2 TARGET: esp32h2 tags: [esptool-esp32h2] target_esp32h2_usj: extends: .target_test variables: PORT: esp32h2-usj TARGET: esp32h2 EXTRA_ARGS: "--preload-port /dev/serial_ports/esp32h2-preload" tags: [esptool-esp32h2-usj] target_esp32p4: extends: .target_test variables: PORT: esp32p4 TARGET: esp32p4 ESPTOOL_TEST_FLASH_SIZE: "32" tags: [esptool-esp32p4] target_esp32c5: extends: .target_test variables: PORT: esp32c5 TARGET: esp32c5 tags: [esptool-esp32c5] target_esp32c5_32mb: extends: .target_test variables: PORT: esp32c5-32mb TARGET: esp32c5 ESPTOOL_TEST_FLASH_SIZE: "32" tags: [esptool-esp32c5-32mb] target_esp32c61: extends: .target_test variables: PORT: esp32c61 TARGET: esp32c61 tags: [esptool-esp32c61] target_esp32h4: extends: .target_test variables: PORT: esp32h4 TARGET: esp32h4 tags: [esptool-esp32h4] target_esp32h21: extends: .target_test variables: PORT: esp32h21 TARGET: esp32h21 tags: [esptool-esp32h21] target_esp32s31: extends: .target_test variables: PORT: esp32s31 TARGET: esp32s31 tags: [esptool-esp32s31] target_tests_windows: extends: .windows_test script: - python -m coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_esptool.py --port COM4 --chip esp32 --baud 115200 -m "quick_test and not host_test" |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |