zephyrproject-rtos/zephyr

twister: tests: Add test verifying integration mode / integration_platforms

クローズ

#33,247 opened on 2021/03/11

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C (9,144 件のフォーク)batch import
EnhancementGood first issuearea: Testsarea: Twister

Repository metrics

Stars
 (15,249 個のスター)
PR merge metrics
 (平均マージ 4d 21h) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド