Wrappers: add support for rr
This example wrapper script runs binaries inside rr (record), which
saves the execution environment, allowing to deterministically debug
possible failures later.
The usage instructions to run tests with this wrapper are no different
than other wrappers. The effect of the wrapper, though, deserves notice:
it creates an "rr" directory inside the test results, which rr uses
to save its data files.
Replays should be executed like this:
$ rr replay $JOB-RESULTS/test-results/$TEST/data/rr/$BINARY_NUMBER
Where $BINARY_NUMBER is the "Nth" execution of "binary" by your
test.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
examples/wrappers/rr.sh
0 → 100755
想要评论请 注册 或 登录