diff options
author | Jaeden Amero <jaeden.amero@arm.com> | 2018-10-29 15:15:41 +0000 |
---|---|---|
committer | Jaeden Amero <jaeden.amero@arm.com> | 2019-03-13 13:39:23 +0000 |
commit | b78b300b2e10ac73cdaad7c95bd8ba4218852e57 (patch) | |
tree | 1137924723b14370b5b49bb5c54f83b58564297c /Makefile | |
parent | a96f4fe94ee838e0a244f587fc978ae27dd06503 (diff) | |
download | mbedtls-b78b300b2e10ac73cdaad7c95bd8ba4218852e57.zip mbedtls-b78b300b2e10ac73cdaad7c95bd8ba4218852e57.tar.gz mbedtls-b78b300b2e10ac73cdaad7c95bd8ba4218852e57.tar.bz2 |
tests: Test crypto via the crypto submodule
Test the crypto implementation via tests from the Mbed Crypto submodule
instead of at the Mbed TLS top level.
The version test is the only test that is tested from both TLS and
Crypto, despite being entirely in libmbedcrypto. This is because the
test data is code-gen'd from the version updating script and the version
between Mbed TLS and Mbed Crypto don't necessarily always agree. The
test data must come from the top level module, as only the top level
module will have test data that matches the expected version.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -19,6 +19,9 @@ lib: tests: lib $(MAKE) -C tests +ifdef USE_CRYPTO_SUBMODULE + $(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests +endif ifndef WINDOWS install: no_test @@ -103,6 +106,9 @@ endif check: lib tests $(MAKE) -C tests check +ifdef USE_CRYPTO_SUBMODULE + $(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests check +endif test: check |