Testrun examples on commit
test.lisp
Sun May 24 17:00:42 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* Testrun examples on commit
--- old-qt.examples/test.lisp 1970-01-01 01:00:00.000000000 +0100
+++ new-qt.examples/test.lisp 2014-10-30 07:38:16.000000000 +0100
@@ -0,0 +1,23 @@
+#|
+exec -a "$0" sbcl --noinform --noprint --disable-debugger --load $0 --end-toplevel-options "$@"
+|#
+
+
+(in-package :sysdef-user)
+
+(defun load-sysdef (pathname system)
+ (load pathname)
+ (setf (mb.sysdef::pathname-of (find-system system)) pathname))
+
+(defun load-sysdef-file (system-name)
+ "Loads a mbd file in the current directory."
+ (load-sysdef (make-pathname :defaults *default-pathname-defaults*
+ :name (string-downcase system-name)
+ :type "mbd")
+ system-name))
+
+(load-sysdef-file :qt.examples)
+(mb:clean :qt.examples)
+(mb:test :qt.examples)
+
+(sb-ext:quit)