Permalink
Browse files

bug20878: include chunker.cl in asdf system

Also, add test-from-asdf make target.

Change-Id: Ibf0361393b54799bfaeaaaca4068cdbeab75925c
  • Loading branch information...
melisgl authored and dklayer committed Mar 14, 2012
1 parent bf469c2 commit 65d85a22d555cc30f52876baf6c5c6b0858b28a8
Showing with 15 additions and 1 deletion.
  1. +1 −0 aserve.asd
  2. +14 −1 makefile
View
@@ -27,6 +27,7 @@
(:cl-file "client")
(:cl-file "proxy")
(:cl-file "cgi")
+ (:cl-file "chunker")
(:cl-file "playback")
(:static-file "README.md")
View
@@ -15,7 +15,7 @@ ifndef mlisp
ifeq ($(on_windows),yes)
mlisp = "/cygdrive/c/Program Files/acl81/mlisp.exe" +B +cn
else
-mlisp = /fi/cl/8.1/bin/mlisp
+mlisp = /fi/cl/8.2/bin/mlisp
endif
endif
@@ -38,6 +38,19 @@ test: FORCE
# -batch must come before -L, since arguments are evaluated from left to right
$(mlisp) -batch -L build.tmp -kill
+test-from-asdf: FORCE
+ rm -f build.tmp
+ echo '(setq excl::*break-on-warnings* t)' >> build.tmp
+ echo '(require :tester)' >> build.tmp
+ echo '(setq util.test::*break-on-test-failures* t)' >> build.tmp
+ echo '(require :asdf)' >> build.tmp
+ echo "(asdf:operate 'asdf:load-op :aserve)" >> build.tmp
+ echo '(dribble "test.out")' >> build.tmp
+ echo '(time (load "test/t-aserve.cl"))' >> build.tmp
+ echo '(exit util.test::*test-errors*)' >> build.tmp
+# -batch must come before -L, since arguments are evaluated from left to right
+ $(mlisp) -batch -L build.tmp -kill
+
srcdist: FORCE
rm -f build.tmp
echo '(setq excl::*break-on-warnings* t)' >> build.tmp

0 comments on commit 65d85a2

Please sign in to comment.