boringssl/crypto/cipher
David Benjamin 301afaf223 Add a run_tests target to run all tests.
It's very annoying having to remember the right incant every time I want
to switch around between my build, build-release, build-asan, etc.,
output directories.

Unfortunately, this target is pretty unfriendly without CMake 3.2+ (and
Ninja 1.5+). This combination gives a USES_TERMINAL flag to
add_custom_target which uses Ninja's "console" pool, otherwise the
output buffering gets in the way. Ubuntu LTS is still on an older CMake,
so do a version check in the meantime.

CMake also has its own test mechanism (CTest), but this doesn't use it.
It seems to prefer knowing what all the tests are and then tries to do
its own output management and parallelizing and such. We already have
our own runners. all_tests.go could actually be converted tidily, but
generate_build_files.py also needs to read it, and runner.go has very
specific needs.

Naming the target ninja -C build test would be nice, but CTest squats
that name and CMake grumps when you use a reserved name, so I've gone
with run_tests.

Change-Id: Ibd20ebd50febe1b4e91bb19921f3bbbd9fbcf66c
Reviewed-on: https://boringssl-review.googlesource.com/6270
Reviewed-by: Adam Langley <alangley@gmail.com>
2015-10-26 20:33:44 +00:00
..
test Add tests from cipher_test.txt to the AEAD test suite. 2015-09-30 23:11:40 +00:00
aead_test.cc Add EVP_AEAD_CTX_zero. 2015-08-24 23:37:58 +00:00
aead.c Add EVP_AEAD_CTX_zero. 2015-08-24 23:37:58 +00:00
cipher_test.cc Re-add |EVP_des_ede|, which is ECB. 2015-08-20 21:33:21 +00:00
cipher.c Add |EVP_rc2_cbc| and implement |EVP_CTRL_SET_RC2_KEY_BITS|. 2015-08-05 21:23:56 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Allow ARM capabilities to be set at compile time. 2015-10-20 22:40:15 +00:00
e_chacha20poly1305.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
e_des.c Re-add |EVP_des_ede|, which is ECB. 2015-08-20 21:33:21 +00:00
e_null.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
e_rc2.c Add |EVP_rc2_cbc| and implement |EVP_CTRL_SET_RC2_KEY_BITS|. 2015-08-05 21:23:56 +00:00
e_rc4.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
e_ssl3.c Restore the NULL-SHA ciphersuite. (Alas.) 2015-09-11 22:18:08 +00:00
e_tls.c Fix |max_tag_len| for TLS CBC AEADs. 2015-09-30 23:59:22 +00:00
internal.h Use EVP_AEAD_CTX in crypto/cipher/internal.h. 2015-05-11 23:37:21 +00:00
tls_cbc.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00