<title>make test: add scripts for easy test looping</title>
<updated>2017-04-02T08:03:57+00:00</updated>
<author>
<name>Klement Sekera</name>
<email>ksekera@cisco.com</email>
...</author>
<published>2017-03-13T06:39:08+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/vpp/commit/?id=799e26d5bdf6b74ab615644e0cd291de6e352989"/>
<id>urn:sha1:799e26d5bdf6b74ab615644e0cd291de6e352989</id>
<content type="text">
Allows easy running of test(s) in a loop with configurable
action (e.g. git pull) run between test runs and possible
email notification on failure.
Usage:
test-loop.sh [-p <pre-exec-cmd>] [-m <email>] -- <make test options>
Example:
Run 'make test-debug' in a loop until a failure is encountered,
upon which an email is fired to ksekera@cisco.com. In between test
runs, update the workspace using via 'git pull' and if anything changed,
perform 'git clean' before running another 'make test-debug':
test/scripts/test-loop.sh -p test/scripts/git_pull_or_clean.sh \
-m ksekera@cisco.com -- test-debug
Change-Id: I114321c6c152d2c7e181e915fc8c51aab1ff3693
Signed-off-by: Klement Sekera <ksekera@cisco.com>
</content>