-
Notifications
You must be signed in to change notification settings - Fork 2.1k
tests: run tests on all boards. #12448
Copy link
Copy link
Open
Labels
Area: testsArea: tests and testing frameworkArea: tests and testing frameworkType: enhancementThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentationThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentationType: trackingThe issue tracks and organizes the sub-tasks of a larger effortThe issue tracks and organizes the sub-tasks of a larger effort
Description
Description
For testing to be performed it must be easy. /dist/tools/compile_and_test_for_board was a stepping stone towards this.
Many boards can now run all tests in a row reliably. But there exception for boards that:
make resetdoes not work
e.g.:arduino,native,z1(all passing by a BSL)make resetblocks
e.g.:esp32make resetcauses serial disconnect
e.g.:atmega2560, mkrwanmake flashfails without manual intervention
e.g.:ccs2538dk,- port with no
stdinorstdout
e.g: allmips
This issue wants to track the needed efforts to be able to achieve this. The following list is not exhaustive at it only involves the issues I'm aware off
Steps
make resetdoes not work- use
test_interactive_sync_utilin all possible test, i.e. test not disabling input/output tests: use test_interactive_test_util when possible #12461 - test application should run in a loop for tests that cant use test_interactive_sync_util (all aplications in
testsdo this)
- use
make resetcauses serial disconnect- use sync functions and disable reset on term
- wait for terminal to become available
- reset before opening the terminal.
make resetblocks-
not reset when terminal is open
-
make flashfails without manual intervention- use usb-bootloader
- blacklist tests that cause hardfaults (
tests/ssp)
- general speed ups:
- get rid of uneeded sleeps when possible.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: testsArea: tests and testing frameworkArea: tests and testing frameworkType: enhancementThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentationThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentationType: trackingThe issue tracks and organizes the sub-tasks of a larger effortThe issue tracks and organizes the sub-tasks of a larger effort