r4870: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 7 May 2003 21:57:10 +0000 (21:57 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 7 May 2003 21:57:10 +0000 (21:57 +0000)
Makefile
equal.lisp
run-tests.lisp

index bcd6a484194acb7eba7bdc8ecd18089ea0646734..dfa7a11eea67383475d44e3435f41e2975691576 100644 (file)
--- 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)
index 09ff47a29cbb00428c49045778ccc2aa54719bb0..0da3c4865ccb307735fc27a2a9be5f708984be83 100644 (file)
@@ -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))
index a795551d97d89b998826c4b99b3c358bafeb6218..09c996b3f1efd9703f4b89d2b0845a2156a6a3c8 100644 (file)
@@ -1,3 +1,6 @@
+(defpackage #:run-tests (:use #:cl))
+(in-package #:run-tests)
+
 (require 'rt)
 (load "kmrcl.asd")
 (load "kmrcl-tests.asd")