r2784: *** empty log message ***
[uffi.git] / tests / test-examples.cl
index b23b3ce27c69afcd4a0c0ad10adf593bf140db81..2a0f715edf0cf6fd3114e6079a18c57fc1b72d6a 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: test-examples.cl,v 1.1 2002/07/26 03:24:29 kevin Exp $
+;;;; $Id: test-examples.cl,v 1.2 2002/09/20 04:51:14 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
-#-uffi
-(mk:load-system :uffi)
-
-#-allegro
-(load (make-pathname :name "acl-compat-tester" :type "cl"
-                    :defaults *load-truename*))
+#-uffi (asdf:oos 'asdf:load-op :uffi)
 
+(unless (ignore-errors (find-package :util.test))
+  (load (make-pathname :name "acl-compat-tester" :type "cl"
+                      :defaults *load-truename*)))
 
 (defun do-tests ()
   (pushnew :test-uffi cl:*features*)
@@ -32,8 +30,7 @@
             (load (merge-pathnames
                    (make-pathname :name name 
                                   :type "cl"
-                   *load-truename*))))
-      
+                   *load-truename*)))))
       (load-test "c-test-fns")
       (load-test "arrays")
       (load-test "union")