From 75cc771d3a7fc90d7e4030b5de0dce48cef3fc4e Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 6 Sep 2019 19:47:17 +0200 Subject: [PATCH] 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. --- tests/scripts/all.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 20458af2ce..e3a8c0e313 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -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