From 98136b14e0898726dc6b5b8cfc0d4a8d7f0084de Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 27 Apr 2022 10:00:42 +0200 Subject: [PATCH] Fixup and update comment of disabled USE_PSA_CRYPTO test check in all.sh Signed-off-by: Neil Armstrong --- tests/scripts/all.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 4e90d9e42..6273ee0f9 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -867,9 +867,11 @@ component_check_test_cases () { tests/scripts/check_test_cases.py $opt unset opt - # Check if some test are explicitely disabled when USE_PSA_CRYPTO is set - not grep -n -R 'depends_on.*!MBEDTLS_USE_PSA_CRYPTO' tests/suites/*.function tests/suites/*.data - not grep -n -R '^ *requires_config_disabled.*MBEDTLS_USE_PSA_CRYPTO' tests/ssl-opt.sh tests/opt-testcases/*.sh + # Check that no tests are explicitely disabled when USE_PSA_CRYPTO is set + # as a matter of policy to ensure there is no missed testing + msg "Check: explicitely disabled test with USE_PSA_CRYPTO" # < 1s + not grep -n 'depends_on:.*!MBEDTLS_USE_PSA_CRYPTO' tests/suites/*.function tests/suites/*.data + not grep -n '^ *requires_config_disabled.*MBEDTLS_USE_PSA_CRYPTO' tests/ssl-opt.sh tests/opt-testcases/*.sh } component_check_doxygen_warnings () {