diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-27 16:55:45 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-27 16:55:45 -0700 |
commit | a9785ec40b9b6cc906d1cbe4dbaeec477f235148 (patch) | |
tree | 350b7abbe16f4a443c11ea8600720c5e3cb367de /debian/tests | |
parent | 9bfaeee3bfb0fa8e1f08a13dec2a7f20c6e65c5e (diff) | |
download | consfigurator-a9785ec40b9b6cc906d1cbe4dbaeec477f235148.tar.gz |
debian/: add an autopkgtest to test compiling and loading
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/compile.lisp | 9 | ||||
-rw-r--r-- | debian/tests/control | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/compile.lisp b/debian/tests/compile.lisp new file mode 100644 index 0000000..b4377ba --- /dev/null +++ b/debian/tests/compile.lisp @@ -0,0 +1,9 @@ +(require "asdf") + +;; this ensures that we've listed the files in consfigurator.asd in the +;; correct order + +(let ((asdf:*compile-file-failure-behaviour* :error) + (asdf:*compile-file-warnings-behaviour* :error) + (asdf:*user-cache* (uiop:getenv "AUTOPKGTEST_TMP"))) + (asdf:load-system "consfigurator")) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..d3e3a1c --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Test-Command: sbcl --script debian/tests/compile.lisp +Depends: @, sbcl +Restrictions: allow-stderr, superficial |