all.sh: robustness improvement

The original pattern would catch any extension, which could include
things like editor backup files etc, that we'd rather ignore.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2023-11-10 10:04:22 +01:00
parent a742337ef6
commit 5c6f787caa

View File

@ -1032,7 +1032,8 @@ component_check_test_dependencies () {
expected="check-test-deps-expected-$$"
# Find legacy dependencies in PSA tests
grep 'depends_on' tests/suites/test_suite_psa* |
grep 'depends_on' \
tests/suites/test_suite_psa*.data tests/suites/test_suite_psa*.function |
grep -Eo '!?MBEDTLS_[^: ]*' |
grep -v MBEDTLS_PSA_ |
sort -u > $found