Skip to content

Commit

Permalink
all.sh: Test MBEDTLS_MPI_WINDOW_SIZE=1
Browse files Browse the repository at this point in the history
There were no tests for a non-default MPI window size. Add one.

Change-Id: Ic08fbc9161d0b3ee67eb3c91f9baf602646c9dfe
  • Loading branch information
pkolbus authored and k-stachowiak committed Feb 5, 2019
1 parent b83d41d commit 1e2aa72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/scripts/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,16 @@ support_test_mx32 () {
esac
}

component_test_min_mpi_window_size () {
msg "build: Default + MBEDTLS_MPI_WINDOW_SIZE=1 (ASan build)" # ~ 10s
scripts/config.pl set MBEDTLS_MPI_WINDOW_SIZE 1
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
make

msg "test: MBEDTLS_MPI_WINDOW_SIZE=1 - main suites (inc. selftests) (ASan build)" # ~ 10s
make test
}

component_test_have_int32 () {
msg "build: gcc, force 32-bit bignum limbs"
scripts/config.pl unset MBEDTLS_HAVE_ASM
Expand Down

0 comments on commit 1e2aa72

Please sign in to comment.