Apparently SIGRTMAX
is not defined on newer versions of macOS,
so wrap it in an #ifdef
and provide an alternative if unavailable.
This allows autoclave to build on macOS.
None.
After each run, logs are now renamed to include a pass
or FAIL
tag.
Added -i <run_id_str>
option: if any of the arguments to the program
being run match this string, then it will be replaced with the run ID.
Changed the -w wait_msec
option to -m min_runtime_msec
, so that
autoclave can delay to pad run time for very short-lived programs,
but will not slow things down otherwise. (Thanks to Josh Triplett
for the suggestion.)
Added -k <int or name>
to send a custom signal on timeout, rather than
SIGINT
. Also, the default signal was changed to SIGTERM
.
run_id
now starts counting at 1 rather than 0.
Added -I <ints>
to ignore specific non-zero exit statuses.
Fixed the timestamp decimal format width, so it wasn't always preceded by two extra zeroes.
Fixed some warnings from clang's scan-build
and building with -Wextra -Weverything
.
Use clock_gettime
with CLOCK_MONOTONIC
when available.
Added this CHANGELOG.
Included run and overall duration in the printouts.
Added printing to examples/crash_example
, for demonstrating logging.
Print overall counts at exit, even when verbosity is 0 and autoclave
is terminated with SIGINT
.
Now everything builds into build/
, except for the generated
documentation formats in man/
(which are checked in to avoid a
build-time dependency on ronn
).
Made time domains more explicit.
Several improvements to the documentation, including a new section about logging and log file paths. (Thanks to Josh Triplett for feedback.)
Fixed typo in the README. (Thanks hugovk.)
Some internal cleanup, code style changes, etc.
Added -s
("supervise"), an alias for the common case of -l -e -v
.
Changed wait (-w
) unit to msec, and changed default to 100 msec.
Set AUTOCLAVE_STDOUT_LOG
and AUTOCLAVE_STDERR_LOG
environment
variables for the log paths when in use.
Switched from execv
to execvp
, to search the path.
Fixed an incorrect offset into ARGV
.
Simplified log retation.
Initial public release.