1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: run-examples.cl
6 ;;;; Purpose: Load and execute all examples for UFFI
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; $Id: run-examples.lisp,v 1.1 2002/09/30 10:02:36 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 #-uffi (asdf:oos 'asdf:load-op :uffi)
21 (pushnew :examples-uffi cl:*features*)
23 (flet ((load-test (name)
24 (load (make-pathname :defaults *load-truename* :name name))))
25 (load-test "c-test-fns")
32 (load-test "gethostname")
33 (load-test "getshells")
34 (load-test "compress"))
36 (setq cl:*features* (remove :examples-uffi cl:*features*))