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
12 ;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg
14 ;;;; *************************************************************************
16 #-uffi (asdf:oos 'asdf:load-op :uffi)
18 (unless (ignore-errors (find-package :util.test))
19 (load (make-pathname :name "acl-compat-tester" :defaults *load-truename*)))
22 (pushnew :test-uffi cl:*features*)
23 (util.test:with-tests (:name "UFFI-Tests")
24 (setq util.test:*break-on-test-failures* nil)
25 (flet ((load-test (name)
26 (load (make-pathname :name name :defaults *load-truename*))))
27 (load-test "c-test-fns")
34 (load-test "gethostname")
35 (load-test "getshells")
36 (load-test "compress"))
37 (setq cl:*features* (remove :test-uffi cl:*features*))))