Commit Graph

15 Commits

Author SHA1 Message Date
Thomas Orozco bcb8a4b870 Allow users to enable sub-reaping
This allows users that don't control PID 1 in their container to still
use Tini to reap zombies.
2015-09-01 21:17:10 +02:00
Thomas Orozco 1a863f8366 Run some functional tests in ci/run_build.sh
Using the child subreaper mechanism, we can actually run
tests inside the CI environment without depending on Docker.

While this does not replace the existing tests, it allows
at least some functional coverage within CI.
2015-07-05 14:25:21 +02:00
Thomas Orozco 3577da19cf Adjust tests to support tini-static
Valgrind does like statically-linked binaries due to false positives
coming from libc, which are ignord only if Valgrind can tell they're in
libc (which isn't the case when using static linking).
2015-06-26 21:43:53 +02:00
Tianon Gravi f2229f937e Bring back tini-static! 🎉
This allows the use of `tini` within even more minimal environments (such as images that are `FROM scratch` with a single application binary `COPY`'d in).
2015-06-26 21:43:53 +02:00
Thomas Orozco 12749881e0 Workaround to ensure compatibility with older CMake
Travis uses Ubuntu Precise, which has CMake 3.8. That version does not
have support for excluding /usr and /usr/bin from the %files% list
(which results in a package that conflicts with the filesystem package
and fails to install).

This commit:

+ Builds on Precise instead of Trusty
+ Adds install tests
2015-05-04 22:24:01 +02:00
Thomas Orozco 178f46aa01 Convert to out-of-tree builds 2015-03-15 18:46:13 +01:00
Thomas Orozco 699c3aadf2 Remove the static build for now
The static build doesn't build with clang, and its usefulness is dubious
for the time being considering the only requirement is glibc.
2015-03-15 16:56:12 +01:00
Thomas Orozco ffb171edf7 Add a static version as well 2015-03-01 11:46:29 -05:00
Thomas Orozco 5b7d66bfe3 Add a valgind test 2015-03-01 11:03:48 -05:00
Thomas Orozco 3af90f3ba8 Improve test code usability 2015-03-01 11:02:23 -05:00
Thomas Orozco acbb3e4391 Randomize tests a little 2015-03-01 11:01:49 -05:00
Thomas Orozco 04119b2869 Refactor build process 2015-02-28 19:04:46 -05:00
Thomas Orozco d67289b212 Don't exit from spawn (exit in main instead) 2015-02-28 18:40:58 -05:00
Thomas Orozco fa8200cc1c Refactor further around functions 2015-02-28 18:11:54 -05:00
Thomas Orozco fb689766ca Add basic test harness 2015-02-22 23:45:26 -08:00