-
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
Move test helper code to the framework repo #8992
Conversation
d7f5345
to
da24ced
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.
I noticed a discrepancy in the lines added by Mbed-TLS/mbedtls-framework#6 and the lines removed by this PR. It seems that the following files have been added to framework but are not yet removed from the base directory:
tests/include/test/psa_memory_poisoning_wrappers.h
tests/include/test/psa_test_wrappers.h
tests/src/psa_memory_poisoning_wrappers.c
tests/src/psa_test_wrappers.c
tests/src/test_memory.c
These are the only files remaining in tests/include
/tests/src
.
da24ced
to
dbec48a
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.
LGTM!
I am also not sure whether this needs a 3.6 backport. The ABI checker hasn't failed here, so perhaps it does. |
Yes, I think this needs a 3.6 backport, I'll make one presently |
Signed-off-by: David Horstmann <[email protected]>
Update them instead to refer to framework/include, where the contents of tests/include have been moved. Signed-off-by: David Horstmann <[email protected]>
tests/CMakeLists.txt now refers correctly to framework/include rather than tests/include. Signed-off-by: David Horstmann <[email protected]>
This all.sh component specifies a path directly so needs editing to point into the framework submodule. Signed-off-by: David Horstmann <[email protected]>
These have now been moved to framework/src and framework/include, respectively. Signed-off-by: David Horstmann <[email protected]>
The MBEDTLS_TEST_PATH variable now points into the framework submodule, along with other ad-hoc paths in the Makefiles. Signed-off-by: David Horstmann <[email protected]>
These are references that are part of the PSA shared memory testing work and thus were not previously updated. Signed-off-by: David Horstmann <[email protected]>
Signed-off-by: David Horstmann <[email protected]>
5ae844f
to
565be3d
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.
Windows failure on Internal CI but OpenCI passed. LGTM
@@ -297,7 +297,7 @@ add_subdirectory(library) | |||
add_subdirectory(pkgconfig) | |||
|
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.
Missing: apply code_style.py
(and more?) to framework files (Mbed-TLS/mbedtls-framework#7).
Superseded by #9409 |
Move the code in
tests/src
andtests/include
to the framework repository.Depends on Mbed-TLS/mbedtls-framework#6
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")