From f843ba5061bdaaa6e203599c3bc2779b8412e7cb Mon Sep 17 00:00:00 2001 From: Daniel Axtens Date: Mon, 31 Aug 2020 14:22:58 +1000 Subject: [PATCH] tests: add baremetal full config build To be able to test utility programs for an absence of time.h, we need a baremetal config that is not crypto only. Add one. Signed-off-by: Daniel Axtens --- tests/scripts/all.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 0f3479ead5c3..bc4501e80634 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1170,6 +1170,12 @@ component_build_crypto_baremetal () { if_build_succeeded are_empty_libraries library/libmbedx509.* library/libmbedtls.* } +component_build_baremetal () { + msg "build: make, baremetal config" + scripts/config.py baremetal + make CFLAGS="-O1 -Werror -I$(pwd)/tests/include/baremetal-override/" +} + component_test_depends_curves () { msg "test/build: curves.pl (gcc)" # ~ 4 min record_status tests/scripts/curves.pl