diff options
author | Fernando Borretti <eudoxiahp@gmail.com> | 2014-05-17 10:38:08 -0300 |
---|---|---|
committer | Fernando Borretti <eudoxiahp@gmail.com> | 2014-05-17 10:38:08 -0300 |
commit | 7b656555a36a061586e14802a5f8bf75c11da143 (patch) | |
tree | ac6dfddea40623a81f636d3a97f89be949e2480a | |
parent | 0a083b6629c39e9dd7df02154a4cef82cac5dcd0 (diff) |
Change test target and test ASDF system file0.1
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | cmacro-test.asd | 15 |
2 files changed, 6 insertions, 24 deletions
@@ -66,17 +66,10 @@ cmc: buildapp libs all: cmc test: libs - $(LISP_QL) --eval '(ql:quickload :split-sequence)' \ - --eval '(ql:quickload :anaphora)' \ - --eval '(ql:quickload :alexandria)' \ - --eval '(ql:quickload :trivial-shell)' \ - --eval '(ql:quickload :cl-mustache)' \ - --eval '(ql:quickload :yason)' \ - --eval '(load "$(NAME).asd")' \ - --eval '(ql:quickload :cl-test-more)' \ - --eval '(ql:quickload :fiveam)' \ - --eval '(load "$(NAME)-test.asd")' \ - --eval '(load "t/$(NAME).lisp")' --quit + $(LISP_QL) --eval '(ql:quickload :fiveam)' \ + --eval '(ql:quickload :$(NAME))' \ + --eval '(ql:quickload :$(NAME)-test)' \ + --quit clean: rm -rf $(BUILD) diff --git a/cmacro-test.asd b/cmacro-test.asd index dd20740..28ec10c 100644 --- a/cmacro-test.asd +++ b/cmacro-test.asd @@ -1,19 +1,8 @@ -(in-package :cl-user) -(defpackage cmacro-test-asd - (:use :cl :asdf)) -(in-package :cmacro-test-asd) - -(defsystem cmacro-test +(asdf:defsystem cmacro-test :author "Fernando Borretti" :license "MIT" :depends-on (:cmacro :fiveam) :components ((:module "t" :components - ((:file "cmacro")))) - - :defsystem-depends-on (:cl-test-more) - :perform (test-op :after (op c) - (funcall (intern #. (string :run-test-system) :cl-test-more) - c) - (asdf:clear-system c))) + ((:file "cmacro"))))) |