diff options
Diffstat (limited to 'tests/lisp/test.lisp')
| -rw-r--r-- | tests/lisp/test.lisp | 18 |
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) |
