Run psa_collect_statuses.py in all.sh

Since it needs a slightly different build, even if that's only for the
tests, make it its own component.
This commit is contained in:
Gilles Peskine 2019-09-06 19:47:17 +02:00
parent be061337c1
commit 75cc771d3a

View file

@ -629,6 +629,16 @@ component_test_everest () {
make test
}
component_test_psa_collect_statuses () {
msg "build+test: psa_collect_statuses" # ~30s
scripts/config.pl full
scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C # slow and irrelevant
record_status tests/scripts/psa_collect_statuses.py
# Check that psa_crypto_init() succeeded at least once
record_status grep -q '^0:psa_crypto_init:' tests/statuses.log
rm -f tests/statuses.log
}
component_test_full_cmake_clang () {
msg "build: cmake, full config, clang" # ~ 50s
scripts/config.pl full