test: allow specifying tests to run with NOTMUCH_TESTS env var

This is useful for just running a specific subset of tests, ie:

NOTMUCH_TESTS=crypto make test
This commit is contained in:
Jameson Graef Rollins 2011-05-07 12:08:34 -07:00 committed by Carl Worth
parent e00c04946a
commit 7058ac2bbe

View file

@ -40,6 +40,7 @@ TESTS="
emacs-large-search-buffer
maildir-sync
"
TESTS=${NOTMUCH_TESTS:=$TESTS}
# Clean up any results from a previous run
rm -r test-results >/dev/null 2>/dev/null