diff --git a/library/Makefile b/library/Makefile index 7ea78677c773..b011e8873691 100644 --- a/library/Makefile +++ b/library/Makefile @@ -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 diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 127f424814cb..c38f6e418bb9 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -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 () {