[asdf-devel] Test results on Mac OSX

Robert Goldman rpgoldman at sift.info
Mon Feb 25 15:55:36 UTC 2013

On 2/25/13 Feb 25 -9:26 AM, Faré wrote:
> On Mon, Feb 25, 2013 at 10:20 AM, Robert Goldman <rpgoldman at sift.info> wrote:
>> On 2/24/13 Feb 24 -11:16 PM, Faré wrote:
>> ....
>> re: test-encodings
>>> Uh, doesn't this test print the test name just before, in the logs?
>> It prints the test name, but my stuff adds a sub-test name.  There were,
>> IIRC, three places where we check UTF-8 encoding of the lambda character.
>> I made them distinguishable, but in a kludgy way.  See attached patch.
>> Could tidy it up, but possibly not worth it.  LMK what you think.
> Wait, in with-encoding-test, there is a
>        (format t "~&Test ~A: should be ~A~%" ',sys ',encoding)
> that ought to tell you which subtest it is already.
> Are you providing more information?

Possibly not.

But when I look for "should be" in my test output file, it is many lines
away from the failure message.

See attached transcript....  There's a pile of garbage about jar file
loading between the output of that format line and the message about the
test failing.  That format output is 24 lines away from:

TEST ABORTED: On test Encoding test EXPLICIT-U8.
These two expressions fail comparison with EQUAL:
 (STRING-CHAR-CODES "λ") evaluates to (338 170)
 (EXPECTED-CHAR-CODES (QUOTE :UTF-8)) evaluates to (955)


-------------- next part --------------
ASDF_TEST_LISPS=allegro allegromodern
abcl --noinit --nosystem --noinform --eval "(or #.(load \"test/script-support.lisp\") #.(asdf-test::compile-asdf-script))"
; Loading /Users/rpg/lisp/asdf/build/fasls/abcl/asdf.abcl ...
; Loaded /Users/rpg/lisp/asdf/build/fasls/abcl/asdf.abcl (3.908 seconds)
Reusing previously-compiled ASDF
Compiled OK
Testing: test-encodings.script
abcl --noinit --nosystem --noinform --eval "(load \"script-support.lisp\")" --eval "(asdf-test::load-asdf)" --eval "(asdf-test::with-test () (load \"test-encodings.script\"))"
; Loading /Users/rpg/lisp/asdf/build/fasls/abcl/asdf.abcl ...
; Loaded /Users/rpg/lisp/asdf/build/fasls/abcl/asdf.abcl (3.601 seconds)
Configuring ASDF
Enabling debugging
Being a bit verbose
Comparing directories
ASDF-TEST:*TEST-DIRECTORY* and ASDF-TEST::X both evaluate to same path:
Frob packages
; Loading /Users/rpg/lisp/asdf/test/test-encodings.script ...
; Registering #<ASDF/SYSTEM:SYSTEM "test-encoding-explicit-u8">
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-types.abcl ...
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-types.abcl (0.085 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/known-functions.abcl ...
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/known-functions.abcl (0.012 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/known-symbols.abcl ...
;     Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm-class-file.abcl ...
;     Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm-class-file.abcl (1.804 seconds)
;     Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/java.abcl ...
;     Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/java.abcl (0.199 seconds)
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/known-symbols.abcl (2.063 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/dump-form.abcl ...
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/dump-form.abcl (0.03 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm-instructions.abcl ...
;     Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-error.abcl ...
;     Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-error.abcl (0.022 seconds)
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm-instructions.abcl (0.291 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm.abcl ...
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/jvm.abcl (1.649 seconds)
;    Loading jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-pass1.abcl ...
;    Loaded jar:file:/opt/local/share/java/abcl/abcl.jar!/org/armedbear/lisp/compiler-pass1.abcl (0.184 seconds)
;  Loading /Users/rpg/lisp/asdf/test/lambda.lisp ...
;  Loaded /Users/rpg/lisp/asdf/test/lambda.lisp (0.0 seconds)
TEST ABORTED: On test Encoding test EXPLICIT-U8.
These two expressions fail comparison with EQUAL:
 (STRING-CHAR-CODES "λ") evaluates to (338 170)
 (EXPECTED-CHAR-CODES (QUOTE :UTF-8)) evaluates to (955)
Above backtrace due to this condition:
On test Encoding test EXPLICIT-U8.
These two expressions fail comparison with EQUAL:
 (ASDF-TEST::STRING-CHAR-CODES "λ") evaluates to (338 170)
 (ASDF-TEST::EXPECTED-CHAR-CODES (QUOTE :UTF-8)) evaluates to (955)
Script failed
Using abcl, test-encodings.script failed
you can retry compilation with:
./test/run-tests.sh abcl test-encodings.script
or more interactively (and maybe with rlwrap or in emacs), start with:
(cd test ; abcl --noinit --nosystem --noinform )
then copy/paste:
'(#.(load "script-support.lisp") #.(asdf-test::da) #.(load-asdf) #.(load "test-encodings.script"))

Using abcl
Ran 1 tests: 
  0 passing and 1 failing
failing test(s):  test-encodings.script

More information about the asdf-devel mailing list