Skip to content

tests: run tests on all boards. #12448

@fjmolinas

Description

@fjmolinas

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 reset does not work
    e.g.: arduino, native, z1 (all passing by a BSL)
  • make reset blocks
    e.g.: esp32
  • make reset causes serial disconnect
    e.g.: atmega2560, mkrwan
  • make flash fails without manual intervention
    e.g.: ccs2538dk,
  • port with no stdin or stdout
    e.g: all mips

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 reset does not work
  • make reset causes serial disconnect
    • use sync functions and disable reset on term
    • wait for terminal to become available
    • reset before opening the terminal.
  • make reset blocks
    • not reset when terminal is open
  • make flash fails without manual intervention
    • use usb-bootloader
    • blacklist tests that cause hardfaults (tests/ssp)
  • general speed ups:
    • get rid of uneeded sleeps when possible.

Metadata

Metadata

Assignees

Labels

Area: testsArea: tests and testing frameworkType: enhancementThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentationType: trackingThe issue tracks and organizes the sub-tasks of a larger effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions