On 11/10/2011 02:40 PM, Juan Jose Garcia-Ripoll wrote:
On Thu, Nov 10, 2011 at 7:07 PM, Paul Bowyer <pbow...@olynet.com
<mailto:pbow...@olynet.com>> wrote:
I also downloaded and ran the ecl-test suite and I would like to know
what is considered a passing grade for the test suite because after
running the tests, I have several ".erg" files present in the
output. I
understand that the presence of a ".erg" file indicates a failure
for a
particular test and I assume that I have several problems...[...]
Would there be additional steps I need to take in either the build or
running the tests that would reduce or eliminate the number of ".erg"
files or am I just facing insurmountable errors?
Hi Paul,
those files belong to an older test suite which is in many ways
incorrect. I only keep them to see changes in the numbers of "errors"
so as to see changes in the behavior of ECL. The mandatory test suite
is the ANSI test suite (ansi/), which is complemented by ECL's own
test suite (directory bug/)
Juanjo
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
Hi Juanjo:
What is the proper procedure for running the tests?
What I did after downloading ecl-test was to cd into ecl-test and run
'make' which chugged away for a few seconds and then I examined the output.
I re-ran the tests after downloading a fresh copy of ecl-test and upon
examining the log files I find that 'ansi.log' and 'bugs.log' both have
errors in them that indicate the tests aborted prematurely (Trying to
attach them to this message for your inspection).
Both 'ansi-old.log' and 'tests.log' show they completed, but looking in
their related folders is where I find many ".erg" files.
Is it expected that I rework something to get the tests to run?
Paul
;;; Loading #P"/usr/local/lib/ecl-11.1.1/sockets.fas"
ECL (Embeddable Common-Lisp) 11.1.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
>
:REGISTER
>
;;; Loading #P"/usr/local/lib/ecl-11.1.1/cmp.fas"
NIL
>
;;; Loading "/home/pfb/my-ecl-sandbox/ecl-test/ansi/gclload1.lsp"
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.
;;; Note:
;;; Invoking external command:
;;; gcc -I. -I/usr/local/include/ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -O2 -w -c
/home/pfb/tmp/ecl001ezeX5t.c -o /home/pfb/tmp/ecl001ezeX5t.o
;;; Note:
;;; Invoking external command:
;;; gcc -o /home/pfb/tmp/ecl001ezeX5t.fas -L/usr/local/lib/
/home/pfb/tmp/ecl001ezeX5t.o -Wl,--rpath,/usr/local/lib/ -shared -lecl -ldl -lm
;;; Internal error:
;;; ** Reader error in file #<string-input stream from " ">, position 1:
;;; Not enough data while loadingbinary file
Condition of type: SIMPLE-READER-ERROR
Reader error in file #<string-input stream from " ">, position 1:
Not enough data while loadingbinary file
Available restarts:
1. (ABORT) ABORT
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at SI:BYTECODES. [Evaluation of: (COMPILE
'CL-TEST::MEANINGLESS-USER-FUNCTION-FOR-UNIVERSE)]
File: #P"/home/pfb/my-ecl-sandbox/ecl-test/ansi/universe.lsp" (Position #12910)
>>
;;; Loading #P"/usr/local/lib/ecl-11.1.1/sockets.fas"
ECL (Embeddable Common-Lisp) 11.1.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
>
;;; Loading "/home/pfb/my-ecl-sandbox/ecl-test/bugs/doit.lsp"
;;; Loading #P"/usr/local/lib/ecl-11.1.1/cmp.fas"
;;; Loading #P"/usr/local/lib/ecl-11.1.1/rt.fas"
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.
;;; Note:
;;; Invoking external command:
;;; gcc -I. -I/usr/local/include/ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -O2 -w -c
/home/pfb/tmp/ecl0019z8Scy.c -o /home/pfb/tmp/ecl0019z8Scy.o
;;; Note:
;;; Invoking external command:
;;; gcc -o /home/pfb/tmp/ecl0019z8Scy.fas -L/usr/local/lib/
/home/pfb/tmp/ecl0019z8Scy.o -Wl,--rpath,/usr/local/lib/ -shared -lecl -ldl -lm
;;; Internal error:
;;; ** Reader error in file #<string-input stream from " ">, position 1:
;;; Not enough data while loadingbinary file
Condition of type: FILE-ERROR
Filesystem error with pathname
#P"/home/pfb/my-ecl-sandbox/ecl-test/bugs/../ansi/universe.lsp".
Either
1) the file does not exist, or
2) we are not allow to access the file, or
3) the pathname points to a broken symbolic link.
Available restarts:
1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at SI:BYTECODES. [Evaluation of: (LOAD "../ansi/universe.lsp")]
File: #P"/home/pfb/my-ecl-sandbox/ecl-test/bugs/doit.lsp" (Position #774)
>>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list