-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
tests: add a test for pkg-config files #8988
base: development
Are you sure you want to change the base?
Conversation
Ill do a back port for 2.28 once the reviewers are happy with this PR. |
Does the CI loop just run the all.sh script or is their anything I need to do to get the CI to pick this up? |
FYI the CI is still failing. |
0ff15a1
to
a33fc7c
Compare
The current CI is just showing orange, is it in some long queue or how do we kick that off? |
I've kicked the CI - https://mbedtls.trustedfirmware.org/job/mbed-tls-pr-head/job/PR-8988-head/ - it won't run automatically on PRs from non-team members, sorry |
CI triggered |
Add a test that does some basic validation of the pkg-config files. Example run: ./tests/scripts/all.sh test_cmake_as_package ****************************************************************** * test_cmake_as_package: build: cmake 'as-package' build * Mon Apr 29 12:33:32 PM CDT 2024 ****************************************************************** cmake . make Built against Mbed TLS 3.5.2 testing package config file: mbedtls ... passed testing package config file: mbedx509 ... passed testing package config file: mbedcrypto ... passed make clean Signed-off-by: Bill Roberts <bill.roberts@arm.com>
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'll backport this to 2.28 now |
And unfortunately 3.6, although that should be utterly trivial given the lack of differences there. |
3.6 backport is here: #9174 |
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
@tom-cosgrove-arm Did you mean to approve? You left a review comment that says “LGTM” but you didn't approve as defined by GitHub. |
Add a test that does some basic validation of the pkg-config files. Note: this is a port of Mbed-TLS#8988 but is moved into a different test component so cmake shared infrastucture isn't needed. Example run: ./tests/scripts/all.sh test_cmake_shared ****************************************************************** * test_cmake_shared: build/test: cmake shared * Wed May 29 18:41:19 UTC 2024 ****************************************************************** cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On . make <snip> testing package config file: mbedtls ... passed testing package config file: mbedx509 ... passed testing package config file: mbedcrypto ... passed make clean Signed-off-by: Bill Roberts <bill.roberts@arm.com>
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
Yes, pretty sure I clicked the "Approve" radio button, but must have miss-clicked and not noticed. |
Add a test that does some basic validation of the pkg-config files. Note: this is a port of Mbed-TLS#8988 but is moved into a different test component so cmake shared infrastucture isn't needed. Note this port of the patch detects the OS and skips so things like freebsd do not fail. Example run: ./tests/scripts/all.sh test_cmake_shared ****************************************************************** * test_cmake_shared: build/test: cmake shared * Wed May 29 18:41:19 UTC 2024 ****************************************************************** cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On . make <snip> testing package config file: mbedtls ... passed testing package config file: mbedx509 ... passed testing package config file: mbedcrypto ... passed make clean Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add a test that does some basic validation of the pkg-config files. Note: this is a port of Mbed-TLS#8988 but is moved into a different test component so cmake shared infrastucture isn't needed. Note this port of the patch detects the OS and skips so things like freebsd do not fail. Example run: ./tests/scripts/all.sh test_cmake_shared ****************************************************************** * test_cmake_shared: build/test: cmake shared * Wed May 29 18:41:19 UTC 2024 ****************************************************************** cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On . make <snip> testing package config file: mbedtls ... passed testing package config file: mbedx509 ... passed testing package config file: mbedcrypto ... passed make clean Signed-off-by: Bill Roberts <bill.roberts@arm.com>
tests: add a test for pkg-config files
Add a test that does some basic validation of the pkg-config files.
Example run:
Signed-off-by: Bill Roberts bill.roberts@arm.com
Description
Please write a few sentences describing the overall goals of the pull request's commits.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
provided, ornot required (Tests only, feature was previously added), or not required[BACKPORT 3.6] tests: add a test for pkg-config files #9174, or not required[BACKPORT 2.28] tests: add a test for pkg-config files #9175, or not requiredNotes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.
Help make review efficient: