Test that the shared library build with CMake works
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index b276e47..70c4e46 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -970,6 +970,13 @@
make SHARED=1 all check
}
+component_test_cmake_shared () {
+ msg "build/test: cmake shared" # ~ 2min
+ cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On .
+ make
+ make test
+}
+
component_build_mbedtls_config_file () {
msg "build: make with MBEDTLS_CONFIG_FILE" # ~40s
# Use the full config so as to catch a maximum of places where