LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-11-2009, 09:27 PM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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
 
Old 12-13-2009, 03:00 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,399

Rep: Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814
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."'.
 
1 members found this post helpful.
Old 12-13-2009, 05:50 PM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
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
 
  


Reply

Tags
check, clisp, lisp, make


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove the extra numeric field in a text file powah Programming 13 01-08-2008 08:24 PM
How to make extra stdin input in awk ? khaan Programming 3 07-30-2007 05:04 AM
tcsh double click text selection - extra characters Kyoseki Linux - Desktop 4 10-17-2006 12:03 AM
Bug in the spell check module (I think). pdeman2 LQ Suggestions & Feedback 4 05-26-2006 07:25 PM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 08:44 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration