aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2024-10-18 19:34:44 +0200
committerThomas Albers Raviola <thomas@thomaslabs.org>2024-10-18 19:34:44 +0200
commite6b5011763c7f59ae8acf2c38d568c88ebd65ec1 (patch)
treeb0717a2af8366fe6849a4a7f28170d8f61bd9242 /Makefile
parent1be9ab5f5a929153b4a8193f6c12bab45fd00ab2 (diff)
Add test suit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7b47ee8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+TESTOPTS=--noinform --non-interactive --eval "(require 'asdf)"\
+ --eval "(setf sb-impl::*default-external-format* :utf-8)"\
+ --eval "(asdf:load-asd (merge-pathnames \"scgi-routes.asd\"))"\
+ --eval "(asdf:load-system :scgi-routes/tests)"\
+ --eval "(if (5am:run-all-tests) (uiop:quit 0) (uiop:quit 1))"
+
+all :
+
+.PHONY : test
+test :
+ @sbcl $(TESTOPTS)