mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00: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:
parent
6210320215
commit
80b31c56eb
2 changed files with 109 additions and 0 deletions
|
|
@ -2756,6 +2756,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue