boringssl/crypto
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
..
aes Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
asn1 d2i: don't update input pointer on failure 2015-09-28 22:15:17 +00:00
base64 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
bio Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
bn Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
buf Make |BUF_memdup| look for zero length, not NULL. 2015-10-06 18:11:33 -07:00
bytestring Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
chacha Revert section changes for ASM. 2015-09-30 22:09:52 +00:00
cipher Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
cmac Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
conf Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
des Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
dh Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
digest Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
dsa Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
ec Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
ecdh Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
ecdsa Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
engine Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
err Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
evp Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
hkdf Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
hmac Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
lhash Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
md4 Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
md5 Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
modes Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
obj Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
pem Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
perlasm Get rid of all compiler version checks in perlasm files. 2015-10-26 20:31:30 +00:00
pkcs8 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
poly1305 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
rand Fix comment style in crypto/rand/rand.c. 2015-10-26 17:58:08 +00:00
rc4 Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
rsa Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
sha Get rid of all compiler version checks in perlasm files. 2015-10-26 20:31:30 +00:00
stack Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
test Convert ssl3_send_client_hello to CBB. 2015-10-20 17:56:19 +00:00
x509 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
x509v3 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
constant_time_test.c
cpu-arm-asm.S Don't probe for NEON with SIGILL on aarch64. 2015-02-03 19:56:25 +00:00
cpu-arm.c Allow ARM capabilities to be set at compile time. 2015-10-20 22:40:15 +00:00
cpu-intel.c Surround immintrin.h includes with warning pragmas. 2015-07-20 20:08:26 +00:00
crypto.c Allow ARM capabilities to be set at compile time. 2015-10-20 22:40:15 +00:00
directory_posix.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory_win.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory.h
ex_data.c Reserve ex_data index zero for app_data. 2015-07-20 16:56:34 +00:00
header_removed.h
internal.h Buffer reads of urandom, if you promise no forking. 2015-09-09 01:02:54 +00:00
mem.c Fix some typos in license headers. 2015-07-29 19:23:51 +00:00
refcount_c11.c Cast refcounts to _Atomic before use. 2015-05-20 13:39:22 -07:00
refcount_lock.c Add infrastructure for reference counts. 2015-05-20 19:14:59 +00:00
refcount_test.c Specify argc and argv arguments to refcount_test:main. 2015-05-20 13:49:41 -07:00
thread_none.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread_pthread.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread_test.c Use the correct case for Windows headers. 2015-06-09 21:38:04 +00:00
thread_win.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread.c Remove leftovers of the old-style locks. 2015-05-20 19:18:44 +00:00
time_support.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00