summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-01-28 16:57:47 +0200
committerEli Zaretskii <eliz@gnu.org>2025-01-28 16:57:47 +0200
commit05ee2b741f074b64c46a1063ec331e111099fc31 (patch)
tree1abf9eb39431ee95d2c67417ef81664b88b39e68
parente74efd9a428491288be46ce56f1d6f4f7cf79ed9 (diff)
; * CONTRIBUTE: Suggest to run more tests sometimes.
-rw-r--r--CONTRIBUTE13
1 files changed, 13 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE
index 2b5c438c055..aa6a59cd432 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -175,6 +175,19 @@ tests via
make && make -C test xt-mouse-tests
+Changes in code that implements infrastructure capabilities might affect
+many tests in the test suite, not just the tests for the source files
+you changed. For such changes, we recommend running unit tests that
+invoke the functions you have changed. You can search for the tests
+that might be affected using tools like Grep. For example, suppose you
+make a change in the 'rename-file' primitive. Then
+
+ grep -Rl rename-file test --include="*.el"
+
+will show all the unit tests which invoke rename-file; run them all to
+be sure your changes didn't break the test suite. If in doubt, run the
+entire suite.
+
** Commit messages
Ordinarily, a changeset you commit should contain a description of the