Changeset 12016


Ignore:
Timestamp:
06/13/09 14:48:45 (14 years ago)
Author:
Mark Evenson
Message:

Fix current directory problems with ABCL Lisp-based test suite.

Now the ABCL Lisp-based test suite (invoked form ant via 'ant
test.abcl') reports 7 out of 228 tests failing (x64-darwin-9.7.0 on
apple-jdk-1.5.0_16).

Location:
trunk/abcl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/abcl.asd

    r11779 r12016  
    5353         :pathname "test/lisp/abcl/" :components
    5454         ((:file "package")))))
     55
    5556(defmethod perform ((o test-op) (c (eql (find-system 'abcl-test-lisp))))
    56    "Invoke tests with:  (asdf:oos 'asdf:test-op :abcl-tests :force t)."
     57   "Invoke tests with:  (asdf:oos 'asdf:test-op :abcl-test-lisp :force t)."
    5758   ;;; FIXME needs ASDF:OOS to be invoked with :FORCE t
    5859   (funcall (intern (symbol-name 'run) :abcl.test.lisp)))
  • trunk/abcl/build.xml

    r11751 r12016  
    504504      depends="test.ansi.compiled,test.abcl"/>
    505505
    506 
    507506    <target name="test.ansi.interpreted" depends="abcl.jar">
    508507      <echo>Recording test output in ${abcl.test.log.file}.</echo>
  • trunk/abcl/test/lisp/abcl/package.lisp

    r11606 r12016  
    44(in-package #:abcl.test.lisp)
    55
    6 (defparameter *abcl-lisp-test-pathname* nil)
    7 
    8 (eval-when (:load-toplevel)
    9   (setf *abcl-lisp-test-pathname* *load-truename*))
     6(defvar *abcl-lisp-test-directory*
     7  (pathname (directory-namestring *load-truename*))
     8  "The directory in which the ABCL test source files are located.")
    109
    1110(defun run ()
    12   (progv
    13       '(*default-pathname-defaults*)
    14       `(,(merge-pathnames *abcl-lisp-test-pathname* *default-pathname-defaults*))
     11  "Run the Lisp test suite for ABCL."
     12
     13  (let ((*default-pathname-defaults* *abcl-lisp-test-directory*))
    1514    (rem-all-tests)
    1615
     
    2625    (do-tests)))
    2726
    28 
    29 
    30    
    31 
    32 
    3327 
Note: See TracChangeset for help on using the changeset viewer.