5701e442fd2fec134fcc2179a15b5a8ecd18230d
[uffi.git] / tests / run-examples.cl
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: run-examples.cl,v 1.1 2002/07/26 03:24:29 kevin Exp $
11 ;;;;
12 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
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 ;;;; *************************************************************************
18
19 (mk:load-system :uffi)
20
21 (pushnew :examples-uffi cl:*features*)
22
23 (flet ((load-test (name)
24          (load (merge-pathnames
25                 (make-pathname :name name 
26                                :type "cl"
27                 *load-truename*))))
28
29   (load-test "c-test-fns")
30   (load-test "arrays")
31   (load-test "union")
32   (load-test "strtol")
33   (load-test "atoifl")
34   (load-test "gettime")
35   (load-test "getenv")
36   (load-test "gethostname")
37   (load-test "getshells")
38   (load-test "compress"))
39
40 (setq cl:*features* (remove :examples-uffi cl:*features*))
41
42
43