all.sh: Test the Mbed Crypto exporter

Ensure that the exporter creates a "crypto" folder where "make test"
runs and passes. Ensure that cleanup also runs without error.
This commit is contained in:
Jaeden Amero 2018-07-11 15:45:23 +01:00 committed by itayzafrir
parent debb2c0d12
commit 80e317af15
2 changed files with 9 additions and 0 deletions

View File

@ -157,6 +157,7 @@ OTHER_FILES := \
VERSION.txt \ VERSION.txt \
programs/psa/crypto_examples.c \ programs/psa/crypto_examples.c \
programs/psa/key_ladder_demo.c \ programs/psa/key_ladder_demo.c \
programs/psa/key_ladder_demo.sh \
programs/psa/psa_constant_names.c \ programs/psa/psa_constant_names.c \
scripts/config.pl \ scripts/config.pl \
scripts/generate_psa_constants.py \ scripts/generate_psa_constants.py \

View File

@ -456,6 +456,14 @@ msg "test: doxygen warnings" # ~ 3s
cleanup cleanup
tests/scripts/doxygen.sh tests/scripts/doxygen.sh
msg "test: Mbed Crypto exporter " # ~ 30s
cleanup
make -f scripts/mbed_crypto.make
cd crypto
make test
make clean
cd ..
make -f scripts/mbed_crypto.make clean
################################################################ ################################################################