summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Borretti <eudoxiahp@gmail.com>2014-05-17 10:38:08 -0300
committerFernando Borretti <eudoxiahp@gmail.com>2014-05-17 10:38:08 -0300
commit7b656555a36a061586e14802a5f8bf75c11da143 (patch)
treeac6dfddea40623a81f636d3a97f89be949e2480a
parent0a083b6629c39e9dd7df02154a4cef82cac5dcd0 (diff)
Change test target and test ASDF system file0.1
-rw-r--r--Makefile15
-rw-r--r--cmacro-test.asd15
2 files changed, 6 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 8970031..7f6e1dd 100644
--- a/Makefile
+++ b/Makefile
@@ -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")))))