summaryrefslogtreecommitdiff
path: root/dh_elpa_test
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-10-05 10:18:07 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-10-05 10:18:07 -0700
commit75c8464e716137aa402300957c85e79f24a52804 (patch)
tree02b0ea24985115509d9b3489cfa6f19815f471df /dh_elpa_test
parentc92015b6c2379ac5ca1879d0266734d767b12e1c (diff)
dh_elpa_test(1): Note exit code requirement in docs for ert_helper
Diffstat (limited to 'dh_elpa_test')
-rwxr-xr-xdh_elpa_test3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_elpa_test b/dh_elpa_test
index f0f70ca..2e8ba5f 100755
--- a/dh_elpa_test
+++ b/dh_elpa_test
@@ -85,6 +85,9 @@ The name of a *.el file containing Emacs Lisp code that will run the
ERT test suite. When this key is not defined, B<dh_elpa_test>
calls the function B<(ert-run-tests-batch-and-exit)>.
+Your helper code should ensure that Emacs exits nonzero if there were
+any test failures, or exits zero if the test suite passed.
+
Note that this is not the way to load test helpers that do needed work
but don't actually run the tests. For that, you can use something like