mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Run the PSA Compliance test suite in all.sh
This commit adds a component to all.sh which clones, builds and runs the compliance test suite. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
@ -2842,6 +2842,19 @@ component_test_zeroize () {
|
||||
unset gdb_disable_aslr
|
||||
}
|
||||
|
||||
component_test_psa_compliance () {
|
||||
msg "build: make, default config (out-of-box), libmbedcrypto.a only"
|
||||
make library/libmbedcrypto.a
|
||||
|
||||
msg "unit test: test_psa_compliance.py"
|
||||
./tests/scripts/test_psa_compliance.py
|
||||
}
|
||||
|
||||
support_test_psa_compliance () {
|
||||
local ver=($(cmake --version | sed 's/cmake version //; y/./ /; q'))
|
||||
[ "${ver[0]}" -eq 3 ] && [ "${ver[1]}" -ge 10 ]
|
||||
}
|
||||
|
||||
component_check_python_files () {
|
||||
msg "Lint: Python scripts"
|
||||
tests/scripts/check-python-files.sh
|
||||
|
Reference in New Issue
Block a user