emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Nicolas Richard" <theonewiththeevillook@yahoo.fr>
To: emacs-orgmode@gnu.org
Subject: Re: Maxima tests fail in devel on OSX
Date: Mon, 25 Mar 2013 13:20:28 +0100	[thread overview]
Message-ID: <87obe7fz77.fsf@yahoo.fr> (raw)
In-Reply-To: EB69E0B7-68F6-4E2B-B152-43ED89098981@univie.ac.at

Neuwirth Erich <erich.neuwirth@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.

  reply	other threads:[~2013-03-25 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 10:40 Maxima tests fail in devel on OSX Neuwirth Erich
2013-03-25 12:20 ` Nicolas Richard [this message]
2013-04-06  0:24   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obe7fz77.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).