From 0e37bb279e050a6a5afe049dff75cd46d3016290 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Wed, 7 May 2003 21:57:10 +0000 Subject: [PATCH] r4870: *** empty log message *** --- Makefile | 30 +++++++++++++++++++++++++++++- equal.lisp | 4 ++-- run-tests.lisp | 3 +++ 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bcd6a48..dfa7a11 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,32 @@ +.PHONY: all clean test test-acl test-sbcl + +test-file:=`pwd`/run-tests.lisp all: clean: - @rm -rf `find . -name \*~ -or -name \*.fasl -or -name \*.x86f -or -name \*.fas -or -name \*.err -or -name \*.fasl[am][18]\* -or -name \*.ufsl -or -name \*.dfsl -or -name \*.cfsl` + @find . -type f -name "*.fasl*" -or -name "*.ufsl" -or -name "*.x86f" \ + -or -name "*.fas" -or -name "*.pfsl" -or -name "*.dfsl" \ + -or -name "*~" -or -name ".#*" -or -name "#*#" | xargs rm -f + +test: test-alisp + +test-alisp: + alisp8 -q -L $(test-file) + +test-mlisp: + mlisp -q -L $(test-file) + +test-sbcl: + sbcl --noinform --disable-debugger --userinit $(test-file) + +test-cmucl: + lisp -init $(test-file) + +test-lw: + lw-console -init $(test-file) + +test-scl: + scl -init $(test-file) + +test-clisp: + clisp -norc -q -i $(test-file) diff --git a/equal.lisp b/equal.lisp index 09ff47a..0da3c48 100644 --- a/equal.lisp +++ b/equal.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: equal.lisp,v 1.13 2003/04/29 04:56:58 kevin Exp $ +;;;; $Id: equal.lisp,v 1.14 2003/05/07 21:57:10 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -37,7 +37,7 @@ (complex (and (generalized-equal (realpart obj1) (realpart obj2)) (generalized-equal (imagpart obj1) (imagpart obj2)))) - (standard-xstructure + (structure-object (generalized-equal-fielded-object obj1 obj2)) (standard-object (generalized-equal-fielded-object obj1 obj2)) diff --git a/run-tests.lisp b/run-tests.lisp index a795551..09c996b 100644 --- a/run-tests.lisp +++ b/run-tests.lisp @@ -1,3 +1,6 @@ +(defpackage #:run-tests (:use #:cl)) +(in-package #:run-tests) + (require 'rt) (load "kmrcl.asd") (load "kmrcl-tests.asd") -- 2.34.1