6 Commits

Author SHA1 Message Date
Brian Smith
4165289b36 Use one process for all tests.
Instead of building the test suites inherited from BoringSSL as
seperate executables, link them all together into one executable,
giving all their `main` functions unique names.

This allows all the tests to be run, even on platforms that don't have
traditional process spawning, and avoids the need to keep track of
directory names even on platforms that do support process spawning.

This also makes it easier to integrate new BoringSSL test suites on
Windows, because we don't need to create a new `vcxproj` file for each
one.

Having one test executable may also make code coverage easier.
2016-04-16 18:55:05 -10:00
Brian Smith
2ef3ccd9c8 Don't add ring's tests to |make check| in mk/ring.mk.
A program integrating ring may not necessarily want ring's tests to run
as part of |make check|. Instead, define a rule |check-ring| that can
a Makefile can use as a dependency to run the ring tests, and do that
in ring's Makefile.
2015-08-26 21:18:27 -07:00
Brian Smith
981a4a5f62 Have |make check| run the tests. 2015-08-26 21:18:22 -07:00
Brian Smith
375e02bc73 Generate static library on non-Windows platforms too. 2015-08-26 21:18:22 -07:00
Brian Smith
d484b6680e Add ARCH variable to build system. 2015-08-26 21:18:17 -07:00
Brian Smith
13baebc3b5 Replace CMake with GNU Make and add Travis CI integration.
Travis CI doesn't have a new enough version of CMake readily available,
and I've been wanting to replace the CMake-based build system for other
reasons. This kills the Windows support, but I'm intending to add a
native msbuild build system for Windows soon. Also, this builds in
OPENSSL_NO_ASM mode for now.
2015-08-26 21:18:16 -07:00