Skip to content

Commit

Permalink
tests: add baremetal full config build
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
daxtens committed Sep 2, 2020
1 parent 096d71d commit cc03bc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/scripts/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,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
Expand Down

0 comments on commit cc03bc1

Please sign in to comment.