projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2822: *** empty log message ***
[uffi.git]
/
tests
/
test-examples.cl
diff --git
a/tests/test-examples.cl
b/tests/test-examples.cl
index b23b3ce27c69afcd4a0c0ad10adf593bf140db81..32def1e731ebec481e2ce26fe71659bbdf10b67f 100644
(file)
--- a/
tests/test-examples.cl
+++ b/
tests/test-examples.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; 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.
3 2002/09/20 05:38:01
kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-16,24
+16,21
@@
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
;;;; (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*)
(defun do-tests ()
(pushnew :test-uffi cl:*features*)
- (util.test:with-tests (:name "UFFI")
- (setq util.test:*break-on-test-failures*
t
)
+ (util.test:with-tests (:name "UFFI
-Tests
")
+ (setq util.test:*break-on-test-failures*
nil
)
(flet ((load-test (name)
(flet ((load-test (name)
- (load (merge-pathnames
- (make-pathname :name name
- :type "cl"
- *load-truename*))))
-
+ (load (merge-pathnames
+ (make-pathname :name name
+ :type "cl")
+ *load-truename*))))
(load-test "c-test-fns")
(load-test "arrays")
(load-test "union")
(load-test "c-test-fns")
(load-test "arrays")
(load-test "union")