Don't try to use our custom packages unless pinned
They do not have src set, so if we pull them in without having a pin they fail to build. Noticed with org, so add a test for that. Probably not the only one affected, though. Fixes #4
This commit is contained in:
parent
6d2d203ece
commit
dbd9b1e998
3 changed files with 15 additions and 5 deletions
7
tests.el
7
tests.el
|
|
@ -23,6 +23,13 @@
|
|||
;; The minimal test is a noop.
|
||||
)
|
||||
|
||||
(defun test-external-org ()
|
||||
"Test org can be loaded and it's not built-in."
|
||||
(require 'org)
|
||||
(let ((path (find-library-name "org")))
|
||||
(unless (string-search "/site-lisp/" path)
|
||||
(error "org-mode probably built-in: %s" path))))
|
||||
|
||||
(defun test-doom ()
|
||||
(let* ((out (getenv "out"))
|
||||
(test (intern-soft (format "test-%s" (getenv "testName"))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue