Merge pull request #156 from k-stachowiak/add-basic-build-to-all-sh

Add an alternarive full build component to all.sh
This commit is contained in:
Jaeden Amero 2019-06-28 10:32:19 +01:00 committed by GitHub
commit 8646a9241c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -602,13 +602,23 @@ component_test_full_cmake_clang () {
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check -D ENABLE_TESTING=On .
make
msg "test: main suites (full config)" # ~ 5s
msg "test: main suites (full config, clang)" # ~ 5s
make test
msg "test: psa_constant_names (full config)" # ~ 1s
msg "test: psa_constant_names (full config, clang)" # ~ 1s
record_status tests/scripts/test_psa_constant_names.py
}
component_test_full_make_gcc_o0 () {
msg "build: make, full config, gcc -O0" # ~ 50s
scripts/config.pl full
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
make CC=gcc CFLAGS='-O0'
msg "test: main suites (full config, gcc -O0)" # ~ 5s
make test
}
component_build_deprecated () {
msg "build: make, full config + DEPRECATED_WARNING, gcc -O" # ~ 30s
scripts/config.pl full