1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: test-examples.cl
6 ;;;; Purpose: Load and execute all examples for UFFI
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; $Id: test-examples.cl,v 1.10 2002/04/02 21:42:11 kevin Exp $
12 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
14 ;;;; UFFI users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
20 (mk:load-system :uffi)
22 (load (make-pathname :name "acl-compat-tester" :type "cl"
23 :defaults *load-truename*))
27 (pushnew :test-uffi cl:*features*)
28 (util.test:with-tests (:name "UFFI")
29 ; (setq util.test:*break-on-test-failures* break)
30 (flet ((load-test (name)
31 (load (merge-pathnames
32 (make-pathname :name name
34 :directory '(:relative "examples"))
37 (load-test "c-test-fns")
44 (load-test "gethostname")
45 (load-test "getshells")
46 (load-test "compress"))
47 (setq cl:*features* (remove :test-uffi cl:*features*))))