Getting started on unit tests
[eow] / setup.lisp
index 9fe8ae92c743cf4a46820e071a5a43bc4336e4b2..ec6ba21ff18f282853ef1c0a2ca0514b8d5eb082 100644 (file)
@@ -1,5 +1,12 @@
 (asdf:oos 'asdf:load-op "eow")
 (asdf:oos 'asdf:load-op "eow")
-(hunchentoot:start-server :port 4242)
-(setf hunchentoot:*show-lisp-backtraces-p* t)
+;(mb:load "eow")
+(setf hunchentoot:*message-log-pathname* "/tmp/hunchentoot-message.log")
+(setf hunchentoot:*access-log-pathname* "/tmp/hunchentoot-access.log")
+(setf *webserver*
+      (hunchentoot:start (make-instance 'hunchentoot:acceptor :port 4242)))
+;; (hunchentoot:stop-server *webserver*)
+;(setf hunchentoot:*show-lisp-backtraces-p* t)
 (setf hunchentoot:*show-lisp-errors-p* t)
 (empire-web:start)
 (setf hunchentoot:*show-lisp-errors-p* t)
 (empire-web:start)
+;(setf *break-on-signals* 'error)
+;(setf *break-on-signals* nil)