aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/README
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-07-04 08:07:19 +0400
committerGravatar David Bremner <bremner@debian.org>2011-09-10 10:12:03 -0300
commit0db3a4d5be93710837962b8260420cfc5a8b968e (patch)
treea51ffe634c1de497f1706d3ebcb5c1c5751ff2c4 /test/README
parentc35ac0bdbd51ddc606cbeb35e8b7b86e450b4b74 (diff)
test: update documentation for test_emacs in test/README
Update test_emacs documentation in test/README according to the latest changes in emacs tests. Move the note regarding setting variables from test/emacs to test/README.
Diffstat (limited to 'test/README')
-rw-r--r--test/README10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/README b/test/README
index f9ac6073..a245bf12 100644
--- a/test/README
+++ b/test/README
@@ -181,9 +181,13 @@ library for your script to use.
This function executes the provided emacs lisp script within
emacs. The script can be a sequence of emacs lisp expressions,
- (that is, they will be evaluated within a progn form). The lisp
- expressions can call `message' to generate output on stdout to be
- examined by the calling test script.
+ (that is, they will be evaluated within a progn form). Emacs
+ stdout and stderr is not available, the common way to get output
+ is to save it to a file. There are some auxiliary functions
+ useful in emacs tests provided in test-lib.el. Do not use `setq'
+ for setting variables in Emacs tests because it affects other
+ tests that may run in the same Emacs instance. Use `let' instead
+ so the scope of the changed variables is limited to a single test.
test_done