mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Add a selftest run for the TIMING_ALT test
The fuzz programs require one layer of directories more when adding include directories. Also remove an unnecessary include directory in the Makefile. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@@ -190,7 +190,7 @@ ifdef TEST_TIMING_ALT_IMPL
|
||||
OBJS_CRYPTO += external_timing_for_test.o
|
||||
external_timing_for_test.o: ../tests/src/external_timing/external_timing_for_test.c
|
||||
echo " CC $<"
|
||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -I../tests/include -o $@ -c $<
|
||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
||||
endif
|
||||
|
||||
static: libmbedcrypto.a libmbedx509.a libmbedtls.a
|
||||
|
@@ -2723,6 +2723,10 @@ component_test_alt_timing() {
|
||||
|
||||
msg "test: MBEDTLS_TIMING_ALT - test suites"
|
||||
make test TEST_TIMING_ALT_IMPL=1 CFLAGS="-I../tests/src/external_timing"
|
||||
|
||||
msg "selftest - MBEDTLS-TIMING_ALT"
|
||||
make programs TEST_TIMING_ALT_IMPL=1 CFLAGS="-I../../tests/src/external_timing -I../tests/src/external_timing"
|
||||
programs/test/selftest
|
||||
}
|
||||
|
||||
component_test_platform_calloc_macro () {
|
||||
|
Reference in New Issue
Block a user