Skip to content

Commit 81d0680

Browse files
committed
Fix ERT section of README
1 parent 6b57bbf commit 81d0680

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ the packages for you (under `~/.emacs.d/elpa/`).
7676
The file `rust-mode-tests.el` contains tests that can be run via
7777
[ERT](http://www.gnu.org/software/emacs/manual/html_node/ert/index.html).
7878
You can use `run_rust_emacs_tests.sh` to run them in batch mode, if
79-
Emacs is somewhere in your `$PATH`.
79+
you set the environment variable EMACS to a program that runs emacs.
80+
81+
To test it under emacs 23, which does not ship with ERT, download ert.el from
82+
https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el
83+
and put it in a place where emacs can find it. (ERT has shipped with emacs
84+
since emacs 24.)

0 commit comments

Comments
 (0)