From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: 2 Org tests failing Date: Thu, 19 Jun 2014 22:05:14 +0200 Message-ID: <877g4cacn9.fsf@Rainer.invalid> References: <86vbsycepz.fsf@somewhere.org> <87tx8iks22.fsf@bzg.ath.cx> <86ppi6qnb5.fsf@somewhere.org> <87vbrxx4zr.fsf@Rainer.invalid> <86ppi5uwgl.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxiaT-0002lB-Dk for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 16:05:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxiaN-0000eo-UE for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 16:05:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:55907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxiaN-0000ee-MS for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 16:05:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxiaL-0004K6-Ry for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 22:05:25 +0200 Received: from pd9eb3657.dip0.t-ipconnect.de ([217.235.54.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jun 2014 22:05:25 +0200 Received: from Stromeko by pd9eb3657.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jun 2014 22:05:25 +0200 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 Sebastien Vauban writes: > I just ran `make test' and got the same error for > `ob-shell/bash-uses-assoc-arrays'. Yes, that's because not all versions of bash that have associative arrays can parse the bizarre quoting style that goes through a sub-process and here-document that is used to fill in the parameters. A better quoting function would be (defun org-babel-sh-var-to-sh (var &optional sep hline) "Convert an elisp value to a shell variable. Convert an elisp var into a string of shell commands specifying a var of the same value." (concat "'" (replace-regexp-in-string "'" "'\"'\"'" (org-babel-sh-var-to-string var sep hline)) "'")) (and remove the double quotes around the places where the value is going to be used). It'd have the advantage of working with more types of shells, but I'm not 100% certain that there aren't any corner cases. > BTW, how can I avoid compiling the source directory before launching the > tests? I prefer having only .el files, as I was mistaken multiple times > when trying to understand executions of code I modified. Take a few minutes and read: http://orgmode.org/worg/dev/org-build-system.html Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada