summaryrefslogtreecommitdiff
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
parentc92015b6c2379ac5ca1879d0266734d767b12e1c (diff)
dh_elpa_test(1): Note exit code requirement in docs for ert_helper
-rw-r--r--debian/changelog4
-rwxr-xr-xdh_elpa_test3
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0020e66..d8fc57b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
dh-elpa (2.0.3) UNRELEASED; urgency=medium
+ [ Nicholas D Steeves ]
* Fix typos in dh_elpa documentation.
* Clean up trailing whitespace in this changelog.
+ [ Sean Whitton ]
+ * dh_elpa_test(1): Note exit code requirement in docs for ert_helper.
+
-- Nicholas D Steeves <nsteeves@gmail.com> Sat, 14 Sep 2019 21:06:37 -0400
dh-elpa (2.0.2) unstable; urgency=medium
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