aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-04-16 19:55:53 +0200
committerTeddy Wing2023-04-16 19:55:53 +0200
commit0fdcbf0a159c9ee4df69bad2c617de01dcb0fd3c (patch)
treefae2919fc7fcd11f389e6a2f5bf04f87ef79b7b3 /Makefile
parent3347a25d6abc00f0cbcea893282eef949ca9b25f (diff)
downloadxfdf-0fdcbf0a159c9ee4df69bad2c617de01dcb0fd3c.tar.bz2
Add test system
Write a test for the `write-xfdf` function. Worked out how to create the test system from: - https://lispcookbook.github.io/cl-cookbook/testing.html - https://github.com/sjl/cl-digraph/blob/master/cl-digraph.test.asd - https://github.com/fukamachi/dexador/blob/master/dexador-test.asd Add the test string to the `write-xfdf` function to pass the test and check that the test runner is set up correctly.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cc12c71
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+LISP := sbcl
+
+.PHONY: test
+test:
+ $(LISP) --load test/run.lisp