Skip to content

Commit

Permalink
Add all.sh component test_default_gcc_asan_new_bignum
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
  • Loading branch information
tom-daubney-arm committed Dec 19, 2023
1 parent 2285e0f commit 523f2f4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/all_sh_components.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,21 @@ component_test_cmake_shared () {
cd "$TF_PSA_CRYPTO_ROOT_DIR"
rm -rf "$OUT_OF_SOURCE_DIR"
}

component_test_default_gcc_asan_new_bignum () {
msg "build: cmake, gcc, ASan" # ~ 1 min 50s
scripts/config.py -f "include/psa/crypto_config.h" set TF_PSA_CRYPTO_ECP_WITH_MPI_UINT

TF_PSA_CRYPTO_ROOT_DIR="$PWD"
mkdir "$OUT_OF_SOURCE_DIR"
cd "$OUT_OF_SOURCE_DIR"

CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan ..
make

msg "test: main suites (inc. selftests) (ASan build)" # ~ 50s
make test

cd "$TF_PSA_CRYPTO_ROOT_DIR"
rm -rf "$OUT_OF_SOURCE_DIR"
}

0 comments on commit 523f2f4

Please sign in to comment.