Skip to content

Conversation

@hakehuang
Copy link
Contributor

twister: runner: add extra_args supporting platform and soc

like extra_confs, add extr_args filterable by
soc::<extra_args> or
platfrom:: <extra_args>

which will only apply to given platform or arch

@hakehuang hakehuang changed the title Twister extra args twister: runner: add extra_args supporting platform and soc and simulation Oct 1, 2024
@hakehuang hakehuang requested a review from pdgendt October 1, 2024 16:03
pdgendt
pdgendt previously approved these changes Oct 1, 2024
@hakehuang
Copy link
Contributor Author

@aaronemassey , @asemjonovs , @gchwier , @golowanow , @nashif , @PerMac please help to review

asemjonovs
asemjonovs previously approved these changes Oct 9, 2024
Copy link
Member

@golowanow golowanow left a comment

Choose a reason for hiding this comment

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

Commit message for extra_args addition needs adjustment to reflect actual changes: supporting arch, platform, and sumulation.

@hakehuang
Copy link
Contributor Author

@LukaszMrugala seems there is a bug in black box test see below
https://github.com/zephyrproject-rtos/zephyr/actions/runs/11259077731/job/31331471101?pr=79263#step:9:95

'{"gcovr/format_version": "0.10", "files": []}' = <function dumps at 0x7f357f36aca0>({'files': [], 'gcovr/format_version': '0.10'})
image

the compare fails due to the hash sequence is not match but the content is the same

@golowanow
Copy link
Member

@LukaszMrugala seems there is a bug in black box test
the compare fails due to the hash sequence is not match but the content is the same

@hakehuang - the fix should be in #79578

@hakehuang hakehuang dismissed stale reviews from asemjonovs and pdgendt via 6ce6053 October 10, 2024 08:14
pdgendt
pdgendt previously approved these changes Oct 10, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe could be worth to raise ConfigurationError, or at least log an error message, if len(cond_args) > 1, to avoid passing wrong extra_args to cmake.

Copy link
Contributor Author

@hakehuang hakehuang Oct 10, 2024

Choose a reason for hiding this comment

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

good suggestion. I add a warning when keys words are there but len is not enough.

like extra_confs, add extr_args filterable by
soc:<arch>:<extra_args> or
platfrom:<platform name>: <extra_args>
simulation:<simulator name>: <extra_args>

which will only apply to given platform or arch

Signed-off-by: Hake Huang <[email protected]>
now extra_args can support domain settings, add in doc.

Signed-off-by: Hake Huang <[email protected]>
add test for platform in extra_args

Signed-off-by: Hake Huang <[email protected]>
@nashif nashif merged commit 33fe360 into zephyrproject-rtos:main Oct 15, 2024
29 checks passed
@ngphibang ngphibang mentioned this pull request Nov 13, 2024
ngphibang added a commit to nxp-upstream/zephyr that referenced this pull request Nov 14, 2024
This is added via PRs zephyrproject-rtos#79337 and zephyrproject-rtos#79263 to automatically check if a
colorbar pattern generated by a camera pipeline is correct or not.

Signed-off-by: Phi Bang Nguyen <[email protected]>
mmahadevan108 pushed a commit that referenced this pull request Nov 14, 2024
This is added via PRs #79337 and #79263 to automatically check if a
colorbar pattern generated by a camera pipeline is correct or not.

Signed-off-by: Phi Bang Nguyen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants