;;;; 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*)
(load (merge-pathnames
(make-pathname :name name
:type "cl"
- *load-truename*))))
-
+ *load-truename*)))))
(load-test "c-test-fns")
(load-test "arrays")
(load-test "union")