r10608: update license
[uffi.git] / examples / run-examples.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          run-examples.cl
6 ;;;; Purpose:       Load and execute all examples for UFFI
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id$
11 ;;;;
12 ;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; *************************************************************************
15
16 #-uffi (asdf:oos 'asdf:load-op :uffi)
17
18 (pushnew :examples-uffi cl:*features*)
19
20 (flet ((load-test (name)
21           (load (make-pathname :defaults *load-truename* :name name))))
22   (load-test "c-test-fns")
23   (load-test "arrays")
24   (load-test "union")
25   (load-test "strtol")
26   (load-test "atoifl")
27   (load-test "gettime")
28   (load-test "getenv")
29   (load-test "gethostname")
30   (load-test "getshells")
31   (load-test "compress"))
32
33 (setq cl:*features* (remove :examples-uffi cl:*features*))
34
35
36