tf-psa-crypto: Add cmake_package_install test program
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/tf-psa-crypto/tests/scripts/components-build-system.sh b/tf-psa-crypto/tests/scripts/components-build-system.sh
index 5de9dc7..5dd7869 100644
--- a/tf-psa-crypto/tests/scripts/components-build-system.sh
+++ b/tf-psa-crypto/tests/scripts/components-build-system.sh
@@ -31,3 +31,12 @@
make
./cmake_subproject
}
+
+component_test_tf_psa_crypto_cmake_as_package_install () {
+ msg "build: cmake 'as-installed-package' build"
+ cd programs/test/cmake_package_install
+ # Note: Explicitly generate files as these are turned off in releases
+ cmake .
+ make
+ ./cmake_package_install
+}