Re: [O] Maxima tests fail in devel on OSX

2013-04-05 Thread Bastien
Hi Nicolas,

Nicolas Richard theonewiththeevill...@yahoo.fr writes:

 My attempts at finding a maxima option to avoid these lines were
 unsuccessful (I mainly tried adding (setq *load-verbose* nil) to a
 maxima-init.lisp file, but that doesn't help). I suppose that ignoring
 any line that begins with ;;; Loading #P will be the easiest way.
 Here's an obvious patch in that direction :

Applied, thanks.

-- 
 Bastien



[O] Maxima tests fail in devel on OSX

2013-03-25 Thread Neuwirth Erich
I just ran make up1 on the latest version from git and 
the tests failed on maxima.
I have not changed the configuration of maxima since the last tests I ran 
probably a month ago.


7 unexpected results:
   FAILED  ob-maxima/integer-input
   FAILED  ob-maxima/list-input
   FAILED  ob-maxima/matrix-output
   FAILED  ob-maxima/simple-list-input
   FAILED  ob-maxima/string-input
   FAILED  ob-maxima/table-input1
   FAILED  ob-maxima/table-input2

make[1]: *** [test-dirty] Error 1
make: *** [up1] Error 2




Re: [O] Maxima tests fail in devel on OSX

2013-03-25 Thread Nicolas Richard
Neuwirth Erich erich.neuwi...@univie.ac.at writes:
 I have not changed the configuration of maxima since the last tests I
 ran probably a month ago.

 7 unexpected results:
FAILED  ob-maxima/integer-input
[...]

I have failures too, but I'm not sure if they are related because I
*did* update maxima (compiled with ECL instead of GCL because that's
required for Sage). I think this will make it clear why there is a
problem :

: $ maxima --very-quiet -r 'batchload(tmp/max)$' 
: ;;; Loading #P/usr/lib/ecl-12.12.1/sb-bsd-sockets.fas
: ;;; Loading #P/usr/lib/ecl-12.12.1/sockets.fas
: ;;; Loading #P/usr/lib/ecl-12.12.1/defsystem.fas
: ;;; Loading #P/usr/lib/ecl-12.12.1/cmp.fas
: 4 

My attempts at finding a maxima option to avoid these lines were
unsuccessful (I mainly tried adding (setq *load-verbose* nil) to a
maxima-init.lisp file, but that doesn't help). I suppose that ignoring
any line that begins with ;;; Loading #P will be the easiest way.
Here's an obvious patch in that direction :

--- a/lisp/ob-maxima.el
+++ b/lisp/ob-maxima.el
@@ -83,6 +83,7 @@ called by `org-babel-execute-src-block'.
 (mapcar (lambda (line)
   (unless (or (string-match batch line)
   (string-match ^rat: replaced .*$ 
line)
+  (string-match ^;;; Loading #P line)
   (= 0 (length line)))
 line))
 (split-string raw [\r\n]))) \n))


-- 
Nico.