Skip to content

tests: various improvements for Octoprobe (WIP) #17782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Jul 29, 2025

Summary

This is a collection of various small improvements to the test suite to get Octoprobe to pass more of the tests.

Once fully working, these changes will be made into separate PRs.

Testing

To be tested by Octoprobe: https://reports.octoprobe.org/

Test report prior to this PR: https://reports.octoprobe.org/github_selfhosted_testrun_194/octoprobe_summary_report.html

Test report with this PR: https://reports.octoprobe.org/github_selfhosted_testrun_199/octoprobe_summary_report.html

@dpgeorge dpgeorge added the tests Relates to tests/ directory in source label Jul 29, 2025
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (1401fdb) to head (3993063).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #17782   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         171      171           
  Lines       22283    22283           
=======================================
  Hits        21924    21924           
  Misses        359      359           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link

github-actions bot commented Jul 31, 2025

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

@dpgeorge dpgeorge force-pushed the tests-improvements-for-octoprobe branch from c399b93 to ca374fa Compare July 31, 2025 13:16
@hmaerki
Copy link
Contributor

hmaerki commented Jul 31, 2025

@dpgeorge dpgeorge force-pushed the tests-improvements-for-octoprobe branch 2 times, most recently from aee37bb to 8920560 Compare August 1, 2025 04:05
@dpgeorge dpgeorge force-pushed the tests-improvements-for-octoprobe branch 2 times, most recently from f066e45 to 780ca38 Compare August 5, 2025 00:18
Some boards define ESP32C3, some define ESP32-C3.

Probably it should just use default pins, eg SPI(1).

Signed-off-by: Damien George <[email protected]>
To get `micropython/extreme_exc.py` to pass when run via-mpy.

Signed-off-by: Damien George <[email protected]>
Eg for ESP8266-512K.

Signed-off-by: Damien George <[email protected]>
In --via-mpy --emit native mode.

Signed-off-by: Damien George <[email protected]>
On ESP8266 this test can fail with --via-mpy.

Signed-off-by: Damien George <[email protected]>
Because RP2350 uses float-abi=softfp!  Maybe we should change that somehow?

Could also use `defined(__SOFTFP__)` to detect soft (all software fp) or
softfp (hardware for calculations but soft/integer for passing arguments).

Signed-off-by: Damien George <[email protected]>
Tested on ADAFRUIT_ITSYBITSY_M0_EXPRESS.

Signed-off-by: Damien George <[email protected]>
On RP2350 these must now be skipped with via-mpy, due to mpy-cross not
knowing the correct architecture.

Signed-off-by: Damien George <[email protected]>
On bare-metal lwIP targets, there's only enough buffer space for 4 groups.

Signed-off-by: Damien George <[email protected]>
@dpgeorge dpgeorge force-pushed the tests-improvements-for-octoprobe branch from 66db214 to 3993063 Compare August 10, 2025 02:13
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