Add all.sh test for baremetal.h runtime test

This commit is contained in:
Hanno Becker 2019-07-22 12:47:20 +01:00 committed by Manuel Pégourié-Gonnard
parent a1f3c521e7
commit e7895aae2c

View File

@ -1341,11 +1341,20 @@ component_build_armcc () {
} }
# need _armcc in the name for pre_check_tools() # need _armcc in the name for pre_check_tools()
component_build_baremetal_script_gcc_armcc () { component_baremetal_raw_build () {
msg "build: scripts/baremetal.sh gcc/armc5/armc6" msg "build: scripts/baremetal.sh gcc/armc5/armc6"
scripts/baremetal.sh --rom --gcc --armc5 --armc6 --check scripts/baremetal.sh --rom --gcc --armc5 --armc6 --check
} }
component_baremetal_test_build () {
msg "build: lib+test+programs for baremetal.h + baremetal_test.h"
record_status scripts/baremetal.sh --ram --build-only
msg "test: baremetal.h + baremetal_test.h"
if_build_succeeded make test
if_build_succeeded tests/ssl-opt.sh --filter "^Default, DTLS$"
}
component_build_armcc_tinycrypt_baremetal () { component_build_armcc_tinycrypt_baremetal () {
msg "build: ARM Compiler 5, make with tinycrypt and baremetal" msg "build: ARM Compiler 5, make with tinycrypt and baremetal"
scripts/config.pl baremetal scripts/config.pl baremetal