components-build-system.sh: align component_test_cmake_as_package

Align component_test_cmake_as_package to the "development" branch
version.

Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
Valerio Setti
2025-01-14 09:48:05 +01:00
parent 167b329e03
commit bb71bb568b
+5 -2
View File
@@ -115,7 +115,11 @@ component_test_cmake_as_package () {
make
./cmake_package
if [[ "$OSTYPE" == linux* ]]; then
PKG_CONFIG_PATH="${build_variant_dir}/mbedtls/pkgconfig" ${root_dir}/tests/scripts/pkgconfig.sh
PKG_CONFIG_PATH="${build_variant_dir}/mbedtls/pkgconfig" \
${root_dir}/framework/scripts/pkgconfig.sh \
mbedtls mbedx509 mbedcrypto
# These are the EXPECTED package names. Renaming these could break
# consumers of pkg-config, consider carefully.
fi
}
@@ -212,4 +216,3 @@ component_build_cmake_programs_no_testing () {
support_build_cmake_programs_no_testing () {
support_test_cmake_out_of_source
}