-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEldev
31 lines (24 loc) · 1.05 KB
/
Eldev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
;; Autodetermined by `eldev init'.
(eldev-use-package-archive 'melpa)
(eldev-use-package-archive 'gnu-elpa)
(setq eldev-test-framework 'buttercup)
;; Copied from eldev's own Eldev
;; Avoid including files in test "projects".
(setf eldev-standard-excludes
(append eldev-standard-excludes
'((eldev-pcase-exhaustive eldev-test-type
(`main "./test/*/")
(`integration '("./test/" "!./test/integration"))
(`all '("./test/*/" "!./test/integration")))
"./webinstall")))
(defvar eldev-test-type 'main)
(eldev-defoption eldev-test-selection (type)
"Select tests to run; type can be `main', `integration' or `all'"
:options (-T --test-type)
:for-command test
:value TYPE
:default-value eldev-test-type
(unless (memq (intern type) '(main integration all))
(signal 'eldev-wrong-option-usage `("unknown test type `%s'" ,type)))
(setf eldev-test-type (intern type)))