File: ert-helper.el

package info (click to toggle)
find-file-in-project 5.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 248 kB
  • sloc: lisp: 909; sh: 17; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; adapted from flycheck/debian/ert-helper.el

(load-library "cl-lib")
(load-file "ivy-mock.el")
(load-file "../find-file-in-project.el")
(load-file "general.el")
(load-file "windows.el")

;; stack will fail if $HOME is not a writable directory, and the
;; autopkgtest specification does not guarantee that it is.  So tell
;; stack to work somewhere else
(setenv "STACK_ROOT" (or (getenv "AUTOPKGTEST_TMP")
                         (getenv "ADT_TMP")))

(ert-run-tests-batch-and-exit)