LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   clisp make check: extra text: is this a bug? (http://www.linuxquestions.org/questions/programming-9/clisp-make-check-extra-text-is-this-a-bug-775076/)

titanium_geek 12-11-2009 09:27 PM

clisp make check: extra text: is this a bug?
 
So I compiled CLISP on my macbook (OS X 10.5.8) and ran make check. After spewing pages of info, this is the relevant bit:

Code:

RUN-TEST: finished "weakptr" (0 errors out of 12 tests)
finished  52 files:              0 errors out of  10,927 tests
  1                  alltest:    0 errors out of    636 tests
  2                    array:    0 errors out of    290 tests
  3                  backquot:    0 errors out of      89 tests
  4                    bin-io:    0 errors out of      15 tests
  5                characters:    0 errors out of    221 tests
  6                      clos:    0 errors out of    495 tests
  7                  defhash:    0 errors out of      6 tests
  8                  encoding:    0 errors out of      36 tests
  9                    eval20:    0 errors out of      43 tests
 10                ext-clisp:    0 errors out of      94 tests
 11                    floeps:    0 errors out of      20 tests
 12                    format:    0 errors out of    301 tests
 13                genstream:    0 errors out of      14 tests
 14                  hashlong:    0 errors out of      14 tests
 15                hashtable:    0 errors out of      10 tests
 16                    iofkts:    0 errors out of    228 tests
 17                    lambda:    0 errors out of      90 tests
 18                  lists151:    0 errors out of    201 tests
 19                  lists152:    0 errors out of    255 tests
 20                  lists153:    0 errors out of      1 test
 21                  lists154:    0 errors out of      46 tests
 22                  lists155:    0 errors out of      25 tests
 23                  lists156:    0 errors out of      20 tests
 24                  list-set:    0 errors out of      2 tests
 25                      loop:    0 errors out of    134 tests
 26                    macro8:    0 errors out of    238 tests
 27                      map:    0 errors out of      64 tests
 28                      mop:    0 errors out of    220 tests
 29                    number:    0 errors out of  3,655 tests
 30                  number2:    0 errors out of    331 tests
 31                    pack11:    0 errors out of    204 tests
 32                      path:    0 errors out of    162 tests
 33                      setf:    0 errors out of    183 tests
 34                    socket:    0 errors out of      89 tests
 35                  steele7:    0 errors out of      85 tests
 36                  streams:    0 errors out of    371 tests
 37              streamslong:    0 errors out of      17 tests
 38                  strings:    0 errors out of    409 tests
 39                  symbol10:    0 errors out of    152 tests
 40                  symbols:    0 errors out of      6 tests
 41                      time:    0 errors out of      23 tests
 42                      type:    0 errors out of    285 tests
 43                unportable:    0 errors out of      30 tests
 44                      weak:    0 errors out of    120 tests
 45                  weakhash:    0 errors out of      25 tests
 46                weakhash2:    0 errors out of      46 tests
 47                bind-eval:    0 errors out of      72 tests
 48              bind-compile:    0 errors out of      72 tests
 49                conditions:    0 errors out of      90 tests
 50                  restarts:    0 errors out of      68 tests
 51                  excepsit:    0 errors out of    384 tests
 52                  weakptr:    0 errors out of    240 tests
Real time: 138.22224 sec.
Run time: 89.18753 sec.
Space: 961149872 Bytes
GC: 1382, GC time: 21.295528 sec.
0
Bye.
(echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo "    cat "`pwd`"/*.erg" ; exit 1)
echo "Test passed."
Test passed.

My question is, with all these "0 errors" displayed, what's with
Code:

(echo *.erg | grep '*' >/dev/null) || (echo "Test failed:" ; ls -l *erg; echo "To see which tests failed, type" ; echo "    cat "`pwd`"/*.erg" ; exit 1)
echo "Test passed."
Test passed.

Does this mean I have errors, or is make check doing weird things, by printing the "echo" commands?

Thanks. :)

(please let me know if there is a more appropriate place for this question.)

titanium_geek

ntubski 12-13-2009 03:00 PM

Quote:

Does this mean I have errors, or is make check doing weird things, by printing the "echo" commands?
The second, although I wouldn't call it weird since make prints the commands being run by default. You can see that 'Test Failed:' was never actually output, whereas 'Test passed.' was printed after 'echo "Test passed."'.

titanium_geek 12-13-2009 05:50 PM

Cool, now I know a new thing about make. Thanks ntubski! Solved, but not in the way I was expecting it to be solved. :)

TG


All times are GMT -5. The time now is 11:04 AM.