Ville Voutilainen wrote:
[…]
>
> On Fri, May 29, 2009 at 10:41 PM, Mark Evenson <
[hidden email]> wrote:
>> Hmmm. The location of where 'abcl.asd' gets loaded shouldn't affect things,
>> but maybe I missed something.
>
> I tried to use dir=test-dir where test-dir is the location of abcl
> tests. That results
> in asdf failing to load the abcl module.
ASDF usually works by looking for ASDF '*.asd' definitions in the
locations specified by ASDF:*CENTRAL-REGISTRY*. Under systems with
symbolic links groked by the Lisp (I don't think Windows works well for
this), one just creates symbolic links to one of the locations in
ASDF:*CENTRAL-REGISTRY* which enables ASDF to determine all the
pathnames specified in the ASDF file.
For instance, I usually piggyback off of SBCL so I can use its working
ASDF-INSTALL package to install ASDF systems to play around with, so I
have the following statement in my '.abclrc' file:
(require 'asdf)
(pushnew '(merge-pathnames ".sbcl/systems/" (user-homedir-pathname))
asdf:*central-registry*)
Then, if I have ABCL installed under ~/work/abcl, I can just add a
symlink like
unix$ ln -s ~/work/abcl/abcl.asd ~/.sbcl/systems/abcl.asd
and I can always refer to the ABCL ASDF definition regardless of what
the current directory of the ABCL REPL happens to be.
>> Could you give a pointer to which tests in the internal test suite you think
>> are failing?
>
> probe-file.3 is the first one I looked, it will fail if (probe-file
> p#"./") is not the same as
> the path pointed to by *this-directory*, which is determined by
> *load-file-truename*.
> That means that the file loaded (file-system-tests.lisp) must be loaded from the
> current directory (./). If not, the test fails.
Apparently, I included a workaround that isn't working anymore (I don't
remember writing this, but it is there). The code in the RUN function
'test/lisp/abcl/package.lisp' attempts to set the
*DEFAULT-PATHNAME-DEFAULTS* to the *LOAD-TRUENAME* of this file, but
apparently this isn't working anymore. Perhaps the PROGV form has been
broken in the meantime?
--
"A screaming comes across the sky. It has happened before, but there
is nothing to compare to it now."
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.
http://p.sf.net/sfu/creativitycat-com
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel