Skip to content
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 helpers to the framework #9409

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

davidhorstmann-arm
Copy link
Contributor

Move the contents of tests/src and tests/include (excluding tests/include/alt-dummy) to the framework and adjust references to these paths accordingly.

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.

  • changelog not required because: no user-facing change (internal file motion only)
  • development PR provided
  • framework PR provided Add test helpers to framework repo mbedtls-framework#37
  • 3.6 PR provided # | not required because:
  • 2.28 PR not required because: no framework in 2.28
  • tests not required because: no functional change or features, moving of files only

Update paths that refer to tests/src now that this directory has moved
to the framework.

Signed-off-by: David Horstmann <[email protected]>
Update paths that refer to tests/include to instead point to the new
path, framework/tests/include.

Signed-off-by: David Horstmann <[email protected]>
This includes from tests/include so must be changed to include from
tests/../framework/tests/include.

Signed-off-by: David Horstmann <[email protected]>
Signed-off-by: David Horstmann <[email protected]>
@davidhorstmann-arm davidhorstmann-arm added needs-review Every commit must be reviewed by at least two team members, needs-ci Needs to pass CI tests needs-reviewer This PR needs someone to pick it up for review priority-high High priority - will be reviewed soon labels Jul 18, 2024
@ronald-cron-arm
Copy link
Contributor

First quick look, this looks overall as expected. I will wait for the CI to be happier to review further though.

@ronald-cron-arm ronald-cron-arm added needs-work and removed needs-review Every commit must be reviewed by at least two team members, labels Jul 19, 2024
@davidhorstmann-arm
Copy link
Contributor Author

I will also need to rebase and rework after #9394 I think

Update the MBEDTLS_TEST_PATH Makefile variable to point correctly to
framework/tests, which contains all of the test helpers and other test
sources that are required by the programs.

Signed-off-by: David Horstmann <[email protected]>
Update extra paths pointing implicitly or explicitly to tests/src
in the tests Makefile. Change them to point to the source files in the
framework.

Signed-off-by: David Horstmann <[email protected]>
Signed-off-by: David Horstmann <[email protected]>
@mpg
Copy link
Contributor

mpg commented Oct 21, 2024

Is this PR still relevant or should it be closed, and then a new one opened once #9430 and #9547 are in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci Needs to pass CI tests needs-reviewer This PR needs someone to pick it up for review needs-work priority-high High priority - will be reviewed soon
Projects
Status: In Development
Development

Successfully merging this pull request may close these issues.

3 participants