-
Notifications
You must be signed in to change notification settings - Fork 3k
Add an NV_SEED test to the config adjustment script #6509
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
Conversation
@@ -66,7 +66,8 @@ add_code | |||
"#endif\n" \ | |||
"\n" \ | |||
"#if defined(MBEDTLS_SSL_TLS_C) && !defined(MBEDTLS_TEST_NULL_ENTROPY) && \\\\\n" \ | |||
" !defined(MBEDTLS_ENTROPY_HARDWARE_ALT)\n" \ | |||
" !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \\\\\n" \ |
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 don't need so many backslashes here, do we?
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.
Without them we barely make it at the line being 79 characters wide. I will change this.
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.
Four \\\\
s are to retain one \
used as line continuation escape character in multi line macro.
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.
That's understood, but we didn't have them before. I'm happy with the currently proposed change.
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.
They were introduced because we were extending the macro with another line.
Now the change is made in the same line. Hence not needed.
What testing has been done? |
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.
Approved, pending testing.
Looks good to me. |
@Alonof can you confirm any testing done on this and the results? Thanks. |
Hi, |
@cmonr Could you please remove the do not merge label? The PR has been reviewed and is ready to go. |
@Alonof Do you have test results that you could actually paste into this PR please ? |
/morph build |
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.
LGTM
Build : SUCCESSBuild number : 1689 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1321 |
Test : SUCCESSBuild number : 1483 |
@adbridge |
@Patater @mazimkhan Are there any specific tests you think should be run against this PR ? |
Its a minor script change and it has been manually tested by @Alonof. That is enough for this PR. |
Description
This PR adds a check for the NV_SEED option in the script that imports the Mbed TLS library.
Pull request type
[x] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change