r8936: merged classic-tests into tests
[clsql.git] / clsql.asd
index c880e68fb98f0cc881a2ead0c969ac3544c8d951..366859a88bf108d44d3df9a78dbeb1accf520734 100644 (file)
--- a/clsql.asd
+++ b/clsql.asd
@@ -7,14 +7,18 @@
 ;;;; Authors:  Marcus Pearce and Kevin M. Rosenberg
 ;;;; Created:  March 2004
 ;;;;
-;;;; $Id: clsql-classic.asd 8847 2004-04-07 14:38:14Z kevin $
+;;;; $Id$
 ;;;;
 ;;;; CLSQL users are granted the rights to distribute and use this software
 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
-(asdf:defsystem #:clsql
+(in-package #:cl-user)
+(defpackage #:clsql-system (:use #:asdf #:cl))
+(in-package #:clsql-system)
+
+(defsystem #:clsql
     :name "CLSQL"
     :author ""
     :maintainer ""
@@ -50,3 +54,7 @@ a functional and an object oriented interface."
                                    (:file "objects" :depends-on ("metaclasses")))
                       :depends-on (:functional))))))
      
+
+(defmethod perform ((o test-op) (c (eql (find-system 'clsql))))
+  (operate 'load-op 'clsql-tests)
+  (operate 'test-op 'clsql-tests :force t))