aboutsummaryrefslogtreecommitdiff
path: root/tests/suites/helpers.function
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2020-06-03 10:11:18 +0200
committerRonald Cron <ronald.cron@arm.com>2020-06-12 14:33:00 +0200
commitb6d6d4c61ababab68a396b5fa1f4c8908811520b (patch)
treed752d3700979fb678b690f86e8a60d7ba666a2c8 /tests/suites/helpers.function
parent849930a50e41e9ed6609e7fa6c86fc0840a54656 (diff)
downloadmbedtls-b6d6d4c61ababab68a396b5fa1f4c8908811520b.zip
mbedtls-b6d6d4c61ababab68a396b5fa1f4c8908811520b.tar.gz
mbedtls-b6d6d4c61ababab68a396b5fa1f4c8908811520b.tar.bz2
tests: Add helpers.c and helpers.h files
The purpose of helpers.c file is to contain the helper functions that have been in helpers.function so far and that are not related to the mechanism of unit test execution and not related to random number generation (will be moved in a dedicated file). The purpose of helpers.h is to contain the interface exposed by helpers.c thus helper function prototypes. Make the changes in the build systems (make and cmake) to build helpers.c and link it to test executables along with mbedtls library. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Diffstat (limited to 'tests/suites/helpers.function')
-rw-r--r--tests/suites/helpers.function1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index fa23d33..445c5c9 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -3,6 +3,7 @@
/* Headers */
#include <test/macros.h>
+#include <test/helpers.h>
#include <stdlib.h>