projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00c049
)
test: allow specifying tests to run with NOTMUCH_TESTS env var
author
Jameson Graef Rollins
<jrollins@finestructure.net>
Sat, 7 May 2011 19:08:34 +0000
(12:08 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 23 May 2011 21:55:27 +0000
(14:55 -0700)
This is useful for just running a specific subset of tests, ie:
NOTMUCH_TESTS=crypto make test
test/notmuch-test
patch
|
blob
|
history
diff --git
a/test/notmuch-test
b/test/notmuch-test
index 72f1eecc6185b1f4f005beb4f90f6f4bac2a7c19..adc657d2d220d0a4bde7873bec80eff1fa18bf77 100755
(executable)
--- a/
test/notmuch-test
+++ b/
test/notmuch-test
@@
-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