summaryrefslogtreecommitdiff
path: root/tests/ci-runner.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ci-runner.el')
-rw-r--r--tests/ci-runner.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ci-runner.el b/tests/ci-runner.el
new file mode 100644
index 0000000..5b3397f
--- /dev/null
+++ b/tests/ci-runner.el
@@ -0,0 +1,9 @@
+(condition-case err
+ (progn
+ (load-file (expand-file-name "tests/ci-build.el" default-directory))
+ (load-file (expand-file-name "init.el" (getenv "NIXMACS_DIR")))
+ (load-file (expand-file-name "tests/ci-build-stage-two.el" default-directory))
+ (kill-emacs 0))
+ (error
+ (princ (format "\nFATAL CI ERROR: %s\n" (error-message-string err)) 'external-debugging-output)
+ (kill-emacs 1)))