aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/README
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-12-28 13:08:21 -0400
committerGravatar David Bremner <bremner@debian.org>2011-12-28 15:50:04 -0400
commitbed6022ed1076803d89260762dd4d90e639f2756 (patch)
tree318731fa9d8cfeb5ff74f05a0f3ec6d85dde7e01 /test/README
parentc96f5f29ddc1f1e53c99893bd5f5226c724e050f (diff)
test: allow user to choose which emacs to run tests with.
As we start to pay more attention to emacs24, it helps to be able to select a different version of emacs to run the tests with to verify version specific bugs. A separate variable TEST_EMACS is needed to avoid being overwritten by the make variable EMACS in Makefile.config For what it's worth, the value of emacs is chosen at the time tmp.emacs/run_emacs is created, so is fixed for all subtests.
Diffstat (limited to 'test/README')
-rw-r--r--test/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/README b/test/README
index 7b2e96d4..bde6db0c 100644
--- a/test/README
+++ b/test/README
@@ -56,6 +56,13 @@ can be specified as follows:
make test OPTIONS="--verbose"
+You can choose an emacs binary to run the tests in one of the
+following ways.
+
+ TEST_EMACS=my-special-emacs make test
+ TEST_EMACS=my-special-emacs ./emacs
+ make test TEST_EMACS=my-special-emacs
+
Skipping Tests
--------------
If, for any reason, you need to skip one or more tests, you can do so