1 ;;;; -*- Mode: ANSI-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.5 2002/03/18 02:27:32 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 ;;;; *************************************************************************
19 (mk:load-system :uffi)
21 (pushnew :test-uffi cl:*features*)
23 (flet ((load-test (name)
24 (load (merge-pathnames
25 (make-pathname :name name
27 :directory '(:relative "examples"))
30 (load-test "array-2d")
34 (load-test "gethostname")
35 (load-test "getshells")
36 (load-test "compress"))
38 (setq cl:*features* (remove :test-uffi cl:*features*))