zephyrproject-rtos/zephyr

twister: tests: Add test verifying integration mode / integration_platforms

Chiusa

#33.247 aperta il 11 mar 2021

 (1 commento) (0 reazioni) (0 assegnatari)C (9144 fork)batch import
EnhancementGood first issuearea: Testsarea: Twister

Metriche repository

Star
 (15.249 stelle)
Metriche merge PR
 (Merge medio 4g 21h) (1000 PR mergiate in 30 g)

Descrizione

Is your enhancement proposal related to a problem? Please describe. The integration mode / integration_platforms list can stop operating as it should. It already happened here https://github.com/zephyrproject-rtos/zephyr/issues/32835. This can cause severe problems: the faulty code can get merged into the main due to CI not verifying it in the proper scope (already seen due to the linked issue).

Describe the solution you'd like A test(s) verifying the correctness of integration mode should be added. The test(s) should call twister with -G argument for a sample containing both default and non-default platforms in its integration_platforms list. It should be verified then the sample was built/executed on all the platforms from the integration_platforms list.

Guida contributor