test: allow specifying tests to run with NOTMUCH_TESTS env var
[notmuch] / test / notmuch-test
index 72f1eecc6185b1f4f005beb4f90f6f4bac2a7c19..adc657d2d220d0a4bde7873bec80eff1fa18bf77 100755 (executable)
@@ -40,6 +40,7 @@ TESTS="
   emacs-large-search-buffer
   maildir-sync
 "
   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
 
 # Clean up any results from a previous run
 rm -r test-results >/dev/null 2>/dev/null