aboutsummaryrefslogtreecommitdiff
path: root/tests/lisp/test.lisp
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-21 16:58:47 +0800
committerMistivia <i@mistivia.com>2025-06-21 16:58:47 +0800
commit1de8cda84460198e764a94c1f0f106ecaf001331 (patch)
tree48bd2e09256c689b120183cf0026f2532617b555 /tests/lisp/test.lisp
parentca22ae606ca674a91e28597a96641c01f7eacb24 (diff)
add format
Diffstat (limited to 'tests/lisp/test.lisp')
-rw-r--r--tests/lisp/test.lisp18
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/lisp/test.lisp b/tests/lisp/test.lisp
index b42cc60..07bdd5b 100644
--- a/tests/lisp/test.lisp
+++ b/tests/lisp/test.lisp
@@ -1,8 +1,14 @@
-(load "arithmetic.lisp")
-(load "control-flow.lisp")
-(load "lambda.lisp")
-(load "comment.lisp")
-(load "macro.lisp")
-(load "let-binding.lisp")
+(defmacro test-module (name)
+ `(progn
+ (princ (format "[TEST] %s\n" ,name))
+ (load (format "%s.lisp" ,name))
+ (princ (format "[PASS] %s\n" ,name))))
+
+(test-module "arithmetic")
+(test-module "control-flow")
+(test-module "lambda")
+(test-module "comment")
+(test-module "macro")
+(test-module "let-binding")
(exit)