Skip to content

Commit

Permalink
Test sample programs in all.sh
Browse files Browse the repository at this point in the history
In all.sh, run programs/*/*.sh, to test the sample programs that have
a test script.
  • Loading branch information
gilles-peskine-arm committed Apr 3, 2020
1 parent 7575ca1 commit ba256c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/scripts/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,11 @@ component_test_default_cmake_gcc_asan () {
msg "test: main suites (inc. selftests) (ASan build)" # ~ 50s
make test

for s in programs/*/*.sh; do
msg "test: sample program ${s#programs/} (ASan build)" # ~ 1s
if_build_succeeded "$s"
done

msg "test: ssl-opt.sh (ASan build)" # ~ 1 min
if_build_succeeded tests/ssl-opt.sh

Expand Down

0 comments on commit ba256c5

Please sign in to comment.