mbedtls/tests
Gilles Peskine 89615eefe7 Show values when TEST_EQUAL fails
When TEST_EQUAL fails, show the two numerical values in the test log (only
with host_test). The values are printed in hexa and signed decimal.

The arguments of TEST_EQUAL must now be integers, not pointers or floats.
The current implementation requires them to fit in unsigned long long
Signed values no larger than long long will work too. The implementation
uses unsigned long long rather than uintmax_t to reduce portability
concerns. The snprintf function must support "%llx" and "%lld".

For this purpose, add room for two lines of text to the mbedtls_test_info
structure. This adds 154 bytes of global data.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-10-19 22:32:44 +02:00
..
.jenkins
configs Move long -D lists from all.sh to a header file 2021-09-20 19:20:04 +02:00
data_files Removal of RC4 certs and fixes to docs and tests 2021-06-21 13:27:29 +02:00
docker/bionic Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
git-scripts Update scripts to use check-names.py 2021-08-06 21:04:32 +01:00
include Show values when TEST_EQUAL fails 2021-10-19 22:32:44 +02:00
scripts Merge pull request #4989 from AndrzejKurek/remove-ssl-export-keys 2021-10-18 17:53:56 +02:00
src Show values when TEST_EQUAL fails 2021-10-19 22:32:44 +02:00
suites Show values when TEST_EQUAL fails 2021-10-19 22:32:44 +02:00
.gitignore Ignore generated source files that are no longer checked in 2021-05-20 10:37:22 +02:00
CMakeLists.txt Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Improve comments to be more accurate 2021-09-03 13:19:57 +01:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt
make-in-docker.sh
Makefile 'make test': show failing test cases when cmake does 2021-09-20 18:57:55 +02:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #4989 from AndrzejKurek/remove-ssl-export-keys 2021-10-18 17:53:56 +02:00