Lines Matching full:tests

13 # The tests include:
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
19 # The tests focus on functionality and do not consider performance.
21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h
22 # which can lead to some tests being skipped, and can cause the number of
23 # available tests to fluctuate.
33 if [ -d library -a -d include -a -d tests ]; then :; else
45 # in sync. If you change the value here because it breaks some tests, you'll
80 # Step 2 - Execute the tests
82 cd tests
88 # Step 2a - Unit Tests (keep going even if some tests fail)
89 echo '################ Unit tests ################'
91 echo '^^^^^^^^^^^^^^^^ Unit tests ^^^^^^^^^^^^^^^^'
94 # Step 2b - System Tests (keep going even if some tests fail)
102 # Step 2c - Compatibility tests (keep going even if some tests fail)
125 } | tee tests/cov-$TEST_OUTPUT
127 if [ "$(tail -n1 tests/cov-$TEST_OUTPUT)" != "SUCCESS" ]; then
142 rm -f "tests/basic-build-test-$$.ok"
146 cd tests
148 # Step 4a - Unit tests
149 echo "Unit tests - tests/scripts/run-test-suites.pl"
153 …TOTAL_SUITES=$(tail -n6 unit-test-$TEST_OUTPUT|sed -n -e 's/.* (\([0-9]*\) .*, [0-9]* tests run)/\…
160 echo "Total exec'd tests : $(($PASSED_TESTS + $FAILED_TESTS))"
161 echo "Total avail tests : $(($PASSED_TESTS + $FAILED_TESTS + $SKIPPED_TESTS))"
170 # Step 4b - TLS Options tests
171 echo "TLS Options tests - tests/ssl-opt.sh"
173 …PASSED_TESTS=$(tail -n5 sys-test-$TEST_OUTPUT|sed -n -e 's/.* (\([0-9]*\) \/ [0-9]* tests ([0-9]* …
174 …SKIPPED_TESTS=$(tail -n5 sys-test-$TEST_OUTPUT|sed -n -e 's/.* ([0-9]* \/ [0-9]* tests (\([0-9]*\)…
175 …TOTAL_TESTS=$(tail -n5 sys-test-$TEST_OUTPUT|sed -n -e 's/.* ([0-9]* \/ \([0-9]*\) tests ([0-9]* s…
181 echo "Total exec'd tests : $TOTAL_TESTS"
182 echo "Total avail tests : $(($TOTAL_TESTS + $SKIPPED_TESTS))"
192 # Step 4c - System Compatibility tests
193 echo "System/Compatibility tests - tests/compat.sh"
195 …PASSED_TESTS=$(cat compat-test-$TEST_OUTPUT | sed -n -e 's/.* (\([0-9]*\) \/ [0-9]* tests ([0-9]* …
196 …SKIPPED_TESTS=$(cat compat-test-$TEST_OUTPUT | sed -n -e 's/.* ([0-9]* \/ [0-9]* tests (\([0-9]*\)…
197 …EXED_TESTS=$(cat compat-test-$TEST_OUTPUT | sed -n -e 's/.* ([0-9]* \/ \([0-9]*\) tests ([0-9]* sk…
203 echo "Total exec'd tests : $EXED_TESTS"
204 echo "Total avail tests : $(($EXED_TESTS + $SKIPPED_TESTS))"
216 echo "Total tests"
221 echo "Total exec'd tests : $TOTAL_EXED"
222 echo "Total avail tests : $TOTAL_AVAIL"
250 rm "tests/basic-build-test-$$.ok"