Skip to content
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

Improve test infrastructure in v3.5 release branch #153

Merged
merged 31 commits into from
Nov 10, 2023
Merged

Conversation

rexut
Copy link
Member

@rexut rexut commented Nov 9, 2023

This fulfills Issues #151 and #152 with following improvements:

  • All tests for Grove Interconnect, Button, and LED Shields converted to be more generic and guided by a list of well-known integration platforms currently supported by Bridle. This leads to a super-matrix of test suites and test cases and thus all invalid board/shield conditions which are either unsupported or have unfinished implementations are now excluded by the new global quarantine list in tests/quarantine.yaml.
  • All SAMD21 targets don't yet support the LED shell command against the internal LED driver API properly in case of mixed GPIO and PWM LEDs on same I/O pin (shared pin function), thus related CONFIG_LED and CONFIG_LED_SHELL were disable for this boards as default.
  • The Grove Interconnect Shield demonstration has been expanded to also include the Raspberry Pi Pico W and Waveshare RP2040-LCD-0.96 boards on the Grove Shield for Pi Pico V1.
  • In conjunction with the new Twister upstream support for filtering tests by board manufacturer or vendor, Bridle now also provides the vendor entry for each supported board.

rexut added 10 commits November 6, 2023 08:48
For better testcase filter by 'depends_on' the board must provide
the supported DAC feature on XIAO connector.

Signed-off-by: Stephan Linz <[email protected]>
For better testcase filter by 'depends_on' the board must provide
all supported RPi Pico connector features.

Signed-off-by: Stephan Linz <[email protected]>
This global quarantine list defines all valid exclusion
constraints of the upcoming supertest matrix for all
integration platforms supported by Bridle in one place.

Signed-off-by: Stephan Linz <[email protected]>
rexut added 9 commits November 9, 2023 23:06
Together with the new global quarantine list all specific
test cases are now more generic and independent of special
white or black lists. When ever an exclusion will be needed
this rule have to add to the new global quarantine list.

Signed-off-by: Stephan Linz <[email protected]>
Together with the new global quarantine list all specific
test cases are now more generic and independent of special
white or black lists. When ever an exclusion will be needed
this rule have to add to the new global quarantine list.

Signed-off-by: Stephan Linz <[email protected]>
Together with the new global quarantine list all specific
test cases are now more generic and independent of special
white or black lists. When ever an exclusion will be needed
this rule have to add to the new global quarantine list.

Signed-off-by: Stephan Linz <[email protected]>
Together with the new global quarantine list all specific
test cases are now more generic and independent of special
white or black lists. When ever an exclusion will be needed
this rule have to add to the new global quarantine list.

In addition, the "Grove Base V2" shield constellation
is also being tested on the Seeed Studio Lotus board.

Signed-off-by: Stephan Linz <[email protected]>
rexut added 12 commits November 9, 2023 23:06
- add new prefix 'nxp'
- add new prefix 'tiac'
- add new prefix 'waveshare'
- fix full name of prefix 'st'

Signed-off-by: Stephan Linz <[email protected]>
In conjunction with the new Twister upstream support for
filtering tests by board manufacturer or vendor, Bridle
now also provides the vendor entry for each supported board.

Signed-off-by: Stephan Linz <[email protected]>
Copy link

github-actions bot commented Nov 9, 2023

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, many thanks

# Grove wiring for tests
#

- comment: "shield(x_grove_testbed): (yet) completely unsupported platform."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: (yet) -> (currently)

@rexut rexut merged commit 5dfe541 into v3.5-branch Nov 10, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants