Merge pull request #10201 from gabor-mezei-arm/9144_SHA3_testing

Add temporary test component for SHA3 testing
diff --git a/tests/scripts/components-configuration.sh b/tests/scripts/components-configuration.sh
index 5fd9ede..4f212be 100644
--- a/tests/scripts/components-configuration.sh
+++ b/tests/scripts/components-configuration.sh
@@ -351,3 +351,16 @@
     # MBEDTLS_MEMORY_BUFFER_ALLOC is slow. Skip tests that tend to time out.
     tests/ssl-opt.sh -e '^DTLS proxy'
 }
+
+# Temporary component for SHA3 config option removal
+# Will be removed according to this issue:
+# https://github.com/Mbed-TLS/mbedtls/issues/10203
+component_test_full_no_sha3 () {
+    msg "build: full config without SHA3"
+    scripts/config.py full
+    scripts/config.py unset-all 'PSA_WANT_ALG_SHA3_*'
+    make
+
+    msg "test: full - PSA_WANT_ALG_SHA3_*"
+    make test
+}