Skip to content

tests: some tweaks to run/skip on more targets#19335

Open
dpgeorge wants to merge 2 commits into
micropython:masterfrom
dpgeorge:tests-tweaks-to-run-on-more-targets
Open

tests: some tweaks to run/skip on more targets#19335
dpgeorge wants to merge 2 commits into
micropython:masterfrom
dpgeorge:tests-tweaks-to-run-on-more-targets

Conversation

@dpgeorge

Copy link
Copy Markdown
Member

Summary

Tweak a few tests so they run/skip on more targets (see commit messages for explanations).

Testing

Tested on ESP8266_GENERIC and ESP32_GENERIC_C3, these tests now skip.

Will also be tested by CI and Octoprobe.

Generative AI

Not used.

dpgeorge added 2 commits June 12, 2026 16:57
This allows MemoryError to propagate through and skip the test, eg on
esp8266 boards.

Signed-off-by: Damien George <damien@micropython.org>
Some esp32 boards (eg ESP32_GENERIC_C3) require extra arguments to the
SDCard constructor and fail with a ValueError if they aren't provided.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge added the tests Relates to tests/ directory in source label Jun 12, 2026
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.51%. Comparing base (d94f965) to head (7b7038c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19335   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files         176      176           
  Lines       22903    22903           
=======================================
  Hits        22562    22562           
  Misses        341      341           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@octoprobe-bot

Copy link
Copy Markdown

Octoprobe PR report

Test Tests
passed
Tests
skipped
Tests
xfailed
Tests
failed
format flash 10 7
run-tests.py 15701 2048 9 1
run-tests.py --via-mpy --emit native 14536 2147 15 2
run-tests.py --via-mpy 15700 2051 8
run-perfbench.py 400 8
run-natmodtests.py 591 104 2
run-tests.py --test-dirs=extmod_hardware 57 87 24 2
run-tests.py --test-dirs=extmod_hardware --emit-native 58 89 23
Total 47053 6541 81 5
Failures

Group: run-tests.py --test-dirs=extmod_hardware

Test esp32
0c30-
ESP32_C3_DEVKIT
esp32
5d21-
ESP32_DEVKIT
esp32
472b-
ESP32_S3_DEVKIT
esp32
1830-
LOLIN_C3_MINI
mimxrt
1133-
TEENSY40
nrf
3c2a-
ARDUINO_NANO_33
rp2
5334-
RPI_PICO2
rp2
5334-
RPI_PICO2-
RISCV
rp2
552b-
RPI_PICO2_W
rp2
5f2c-
RPI_PICO_W
rp2
6038-
RPI_PICO_W
samd
5f2a-
ADA_ITSYBITSY_M0
stm32
2b35-
NUCLEO_WB55
stm32
3a21-
PYBV11
stm32
3a21-
PYBV11-
DP
stm32
3a21-
PYBV11-
DP_THREAD
stm32
3a21-
PYBV11-
THREAD
extmod_hardware/machine_pwm.py pass pass pass pass pass skip XFAIL
xfail_master_478.json
XFAIL
xfail_master_478.json
pass FAIL FAIL pass pass pass pass pass pass

Group: run-tests.py

Test esp32
0c30-
ESP32_C3_DEVKIT
esp32
5d21-
ESP32_DEVKIT
esp32
472b-
ESP32_S3_DEVKIT
esp32
1830-
LOLIN_C3_MINI
mimxrt
1133-
TEENSY40
nrf
3c2a-
ARDUINO_NANO_33
rp2
5334-
RPI_PICO2
rp2
5334-
RPI_PICO2-
RISCV
rp2
552b-
RPI_PICO2_W
rp2
5f2c-
RPI_PICO_W
rp2
6038-
RPI_PICO_W
samd
5f2a-
ADA_ITSYBITSY_M0
stm32
2b35-
NUCLEO_WB55
stm32
3a21-
PYBV11
stm32
3a21-
PYBV11-
DP
stm32
3a21-
PYBV11-
DP_THREAD
stm32
3a21-
PYBV11-
THREAD
extmod/select_poll_udp.py pass pass pass pass skip skip skip skip pass pass FAIL skip skip skip skip skip skip

Group: run-tests.py --via-mpy --emit native

Test esp32
0c30-
ESP32_C3_DEVKIT
esp32
5d21-
ESP32_DEVKIT
esp32
472b-
ESP32_S3_DEVKIT
esp32
1830-
LOLIN_C3_MINI
mimxrt
1133-
TEENSY40
nrf
3c2a-
ARDUINO_NANO_33
rp2
5334-
RPI_PICO2
rp2
5334-
RPI_PICO2-
RISCV
rp2
552b-
RPI_PICO2_W
rp2
5f2c-
RPI_PICO_W
samd
5f2a-
ADA_ITSYBITSY_M0
stm32
2b35-
NUCLEO_WB55
stm32
3a21-
PYBV11
stm32
3a21-
PYBV11-
DP
stm32
3a21-
PYBV11-
DP_THREAD
stm32
3a21-
PYBV11-
THREAD
micropython/viper_ptr8_load_boundary.py pass pass pass pass pass pass pass pass pass pass FAIL pass pass pass pass pass
stress/qstr_limit.py pass pass pass pass pass pass pass pass pass pass FAIL pass pass pass pass pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Relates to tests/ directory in source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants