summaryrefslogtreecommitdiff
path: root/test/lisp/cedet/srecode-utest-template.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/cedet/srecode-utest-template.el')
-rw-r--r--test/lisp/cedet/srecode-utest-template.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/cedet/srecode-utest-template.el b/test/lisp/cedet/srecode-utest-template.el
index 63c33a3c440..41e67fd1e3b 100644
--- a/test/lisp/cedet/srecode-utest-template.el
+++ b/test/lisp/cedet/srecode-utest-template.el
@@ -347,6 +347,10 @@ INSIDE SECTION: ARG HANDLER ONE")
;; Load the application templates, and make sure we can find them.
(srecode-load-tables-for-mode major-mode 'tests)
+ (dolist (table (oref (srecode-table) tables))
+ (when (gethash "test" (oref table contexthash))
+ (oset table project default-directory)))
+
(setq temp (srecode-template-get-table (srecode-table)
"test-project"
"test"