]> rtime.felk.cvut.cz Git - notmuch.git/commit
test: Break on test script errors break-on-test-script-errors
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Dec 2010 14:13:40 +0000 (15:13 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Dec 2010 14:13:40 +0000 (15:13 +0100)
commit2f1efaf5b0caafdeefc3a0ff373cc7c57b5f98dc
tree772baf1f8fad79f6700fe9b1ae51c66b812e651b
parentb3caef1f0659dac8183441357c8fee500a940889
test: Break on test script errors

Break notmuch-test whenever a test script exits with status other than
zero or one.

This is intended to break when a bug in the test script is detected in
which case the test script exits with status of 2. Exit status of
one means that some tests failed, but this does not break notmuch-test
unless -i (immediate) options is given.
test/notmuch-test
test/test-lib.sh