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 Aug 31, 2020
1 parent b55d591 commit 3b36140
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 @@ -1197,6 +1197,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="$BAREMETAL_INCLUDE_OVERRIDE -O1 -Werror"
}

component_test_depends_curves () {
msg "test/build: curves.pl (gcc)" # ~ 4 min
record_status tests/scripts/curves.pl
Expand Down

0 comments on commit 3b36140

Please sign in to comment.