From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nicolas Richard" Subject: Re: Maxima tests fail in devel on OSX Date: Mon, 25 Mar 2013 13:20:28 +0100 Message-ID: <87obe7fz77.fsf@yahoo.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Nu-0002LV-KW for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 08:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK6Ns-0001bt-JC for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 08:20:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:36345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Ns-0001bP-CY for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 08:20:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UK6OD-0001Ir-BR for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 13:20:37 +0100 Received: from geodiff-mac3.ulb.ac.be ([164.15.131.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Mar 2013 13:20:37 +0100 Received: from theonewiththeevillook by geodiff-mac3.ulb.ac.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Mar 2013 13:20:37 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Neuwirth Erich 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.