[asdf-devel] Tests still failing on allegro

Robert Goldman rpgoldman at sift.info
Sat Jan 19 23:36:56 UTC 2013


I checked test-force.  This is failing because after the test-force
system is loaded, we have this:

ASDF-TEST> (asdf:compile-file-pathname* "file1")
#P"/Users/rpg/lisp/asdf/build/fasls/acl-8.2-macosx-x64/root/file1.fasl"
ASDF-TEST> (probe-file (asdf:compile-file-pathname* "file1"))
NIL

This despite the fact that the system is loaded:

ASDF-TEST> (asdf:operate 'asdf:load-op 'test-force)
#<LOAD-OP >
((#<PREPARE-OP > . #<SYSTEM "test-force">)
 (#<PREPARE-OP > . #<CL-SOURCE-FILE "test-force" "file1">)
 (#<LOAD-OP > . #<CL-SOURCE-FILE "test-force" "file1">)
 (#<COMPILE-OP > . #<SYSTEM "test-force">)
 (#<LOAD-OP > . #<SYSTEM "test-force">))

Looks like this might be the problem:

ASDF-TEST> (asdf:output-files (make-instance 'asdf:compile-op)
(asdf:find-component "test-force" "file1"))
(#P"/Users/rpg/lisp/asdf/build/fasls/acl-8.2-macosx-x64/asdf/test/file1.fasl")

See that the file that is generated by compiling "file1" does not have
the same pathname as (ASDF:COMPILE-FILE-PATHNAME* "file1")

This seems to give the right answer:
ASDF-TEST> (asdf:compile-file-pathname* (asdf:component-pathname
(asdf:find-component "test-force" "file1")))
#P"/Users/rpg/lisp/asdf/build/fasls/acl-8.2-macosx-x64/asdf/test/file1.fasl"

Is this simply a bug in the test?

Best,
r




More information about the asdf-devel mailing list