progcheck-0.1.6 is not a library.
progcheck - progressive failure checking tool
Run commands sequentially, stopping on first failure.
Installation
Prebuilt binaries are also attached to each GitHub Release: https://github.com/ilya-epifanov/progcheck/releases
Usage
Normal usage
No output on success:
Now break a test
Output on failure:
)
)
)
; ; ; ; ;
Limit output to 100 chars just in case
Truncated output on failure:
;
Options
-e, --exit <CODE>- Exit code on failure: integer (OS-dependent) ormirror(default:1)-b, --buffer-size <CHARS>- Number of output characters to retain for failed commands (default:10000)
Behavior
- Commands run sequentially
- Output is captured while commands run
- Successful command output is discarded
- Only the first failed command's output is printed:
FAILED: <cmd>then the captured stdout/stderr - If output exceeds
--buffer-size,progcheckshows:- an explicit truncation message at the top,
- the beginning and end of output,
- a
... middle output omitted ...marker between them.
Limitations
Child processes often buffer stdout when piped, so output ordering may not perfectly match the original write order.