From c4b767d90585374083c5b9401ee62591f3aba9bb Mon Sep 17 00:00:00 2001 From: Phil Jackson Date: Fri, 8 Aug 2008 18:08:05 +0100 Subject: [PATCH] Added `load-path' to a list of places to look for a test. --- etest-execute.el | 3 ++- etest.texinfo | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/etest-execute.el b/etest-execute.el index 138e997..83c3a53 100644 --- a/etest-execute.el +++ b/etest-execute.el @@ -44,7 +44,8 @@ named (to the buffer) file. Then looking in `default-directory'." ((and buffer-file-name (catch 'found (let ((etest-load-path (append etest-load-path - (list default-directory))) + (list default-directory) + load-path)) (name (concat (file-name-sans-extension (file-name-nondirectory buffer-file-name)) ".etest"))) diff --git a/etest.texinfo b/etest.texinfo index d36bfc6..a557651 100644 --- a/etest.texinfo +++ b/etest.texinfo @@ -157,6 +157,9 @@ of the etest file. 3. A matching etest file is in the current working directory (@code{default-directory}). +4. A matching etest file is in one of the directories mentioned in +@code{load-path}. + At the moment it's impossible to have two etest structures defined in one file @emph{and} see the results in one results buffer (at least in the result mode that is bundled with ETest) as an @code{erase-buffer} -- 2.11.4.GIT