Add rudimentary tests of my profile hacks

This commit is contained in:
Marien Zwart 2024-06-03 22:16:43 +10:00
parent ce63f7f54a
commit 55f23cbfcf
No known key found for this signature in database
2 changed files with 10 additions and 6 deletions

View file

@ -19,9 +19,13 @@
;; This tries to hook into startup as late as possible, write a sign of life
;; (currently a string written to $out), and then exits.
(defun test-minimal ()
;; The minimal test is a noop.
)
(defun test-no-profile ()
(when doom-profile
(error "doom-profile should be unset, is %s" doom-profile)))
(defun test-nix-profile ()
(unless (and doom-profile (equal (car doom-profile) "nix"))
(error "non-nix doom-profile %s" doom-profile)))
(defun test-external-org ()
"Test org can be loaded and it's not built-in."