-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Update the hashes
domain to use PSA macros in depends.py
#9634
base: development
Are you sure you want to change the base?
Update the hashes
domain to use PSA macros in depends.py
#9634
Conversation
8ab32ac
to
fcfc93d
Compare
Signed-off-by: Gabor Mezei <[email protected]>
With mutual exclusion multiple symbols can be handled as one thus if one of them need to be turned of them all of them will be. Also update the Job class for the symbols in the mutual exclusion jobs to be referenced separately. Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
fcfc93d
to
baa11a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Some minor non blocking comments.
tests/scripts/depends.py
Outdated
alter_names = {'!' + symbol for symbol in config_settings.keys()} | ||
job = Job(description, config_settings, commands, alter_names) | ||
self.jobs.append(job) | ||
valid_symbols -= config_settings.keys() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question.
Updating the valid_symbols
while iterating through the mutual_exlusion
implies that that a single valid_symbol
can only pair with a single group. So we cannot have two groups that depend on the same valid_symbol
Is that intended as per design?
tests/scripts/depends.py
Outdated
@@ -630,8 +630,11 @@ def __init__(self, options, conf): | |||
# across various modules, but it depends on either SHA256 or SHA512. | |||
# As a consequence an "exclusive" test of anything other than SHA256 | |||
# or SHA512 with MBEDTLS_ENTROPY_C enabled is not possible. | |||
# Note for update: when MBEDTLS_SHA3_C is removed the mutual_exclusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a common operator to indicate things that need to be done in the documentation. Until that is decided shoud we use TODO:
which is global?
Signed-off-by: Gabor Mezei <[email protected]>
Now it is supported to the select a symbol for multiple mutual exclusion groups. Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Description
In
depends.py
use PSA macros for thehashes
domain.Resolve #9144
Depends on #9292
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.