Skip to content

Commit 8646a92

Browse files
authored
Merge pull request #156 from k-stachowiak/add-basic-build-to-all-sh
Add an alternarive full build component to all.sh
2 parents 54b8eab + 5559b31 commit 8646a92

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/scripts/all.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,13 +602,23 @@ component_test_full_cmake_clang () {
602602
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check -D ENABLE_TESTING=On .
603603
make
604604

605-
msg "test: main suites (full config)" # ~ 5s
605+
msg "test: main suites (full config, clang)" # ~ 5s
606606
make test
607607

608-
msg "test: psa_constant_names (full config)" # ~ 1s
608+
msg "test: psa_constant_names (full config, clang)" # ~ 1s
609609
record_status tests/scripts/test_psa_constant_names.py
610610
}
611611

612+
component_test_full_make_gcc_o0 () {
613+
msg "build: make, full config, gcc -O0" # ~ 50s
614+
scripts/config.pl full
615+
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
616+
make CC=gcc CFLAGS='-O0'
617+
618+
msg "test: main suites (full config, gcc -O0)" # ~ 5s
619+
make test
620+
}
621+
612622
component_build_deprecated () {
613623
msg "build: make, full config + DEPRECATED_WARNING, gcc -O" # ~ 30s
614624
scripts/config.pl full

0 commit comments

Comments
 (0)