Fix a big in the srecore test setup
* test/lisp/cedet/srecode-utest-template.el (srecode-utest-project): Set the current directory in the project so that we'll find it later (bug#42533). The in-project directory is /tmp, which is not actually what it is on many machines that have the temporary directory somewhere else.
This commit is contained in:
parent
a711f70125
commit
206ce48fb0
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue