From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] Collection of code block snippets Date: Sun, 11 Sep 2011 14:57:36 -0600 Message-ID: <87fwk2okpx.fsf@gmail.com> References: <878vq48dvt.fsf@gmail.com> <87zkiiq4ko.fsf@gmail.com> <87bouxr3v1.fsf@gmail.com> <87mxef6p4r.fsf@gmail.com> <87bouvdj15.fsf@gmail.com> <87pqj9fo0x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2rBi-0004rs-5A for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 17:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2rBc-0004rF-Qp for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 17:03:38 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:49736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2rBc-0004r0-Hx for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 17:03:32 -0400 Received: by yic24 with SMTP id 24so2339632yic.0 for ; Sun, 11 Sep 2011 14:03:32 -0700 (PDT) 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: Martyn Jago Cc: emacs-orgmode@gnu.org Martyn Jago writes: > Hi Eric > > Eric Schulte writes: > > > [...] > >> >> Looks perfect, I'm adding this to the definition of `org-test-run-batch-tests'. >> >> I still get one failing test when running this in batch mode. >> ,---- >> | 1 unexpected results: >> | FAILED test-org-babel/inline-src-blocks >> `---- >> >> and 6 failures when run interactively, but these may be local issues so >> I'll check them out. > > I'll do some work on testing against version 23 and 22 and maybe put > together a how-to get ERT on those earlier systems (on linux). > Such a document would be very useful, thanks > > For fun I hacked together a test results parser using org babel, which > calls your script from within a shell block, passing the results to a > parser block. Output is in the form of org mode headings and > sub-headings. I've attached it in case you were interested (org babel > was just great for doing this). > Very cool, it may be more useful if it only reported the results for failing tests. Thanks for sharing, such a script could be the beginning of a backend for exporting the test results to html (e.g., if the test suite was run after every git commit). > > One problem I have however is getting the correct arguments in the call > line to cause the expected behaviour. Executing the block =run-all-and-convert= > within the processing header causes the correct behaviour, however I > can't get the #+call to cause the same behaviour. > Header arguments on call lines can be tricky. Take a look at http://eschulte.github.com/org-scraps/scraps/2011-09-11-header-arguments-on-call-lines.html Cheers -- Eric > > Best, Martyn > > > > > #+STARTUP:overview > > #+call: run-all-and-convert[:results prepend org]() :results silent > > * processing > > ** run-all-tests-in-isolation > #+srcname: run-all-tests-in-isolation > #+begin_src sh :results output silent > /Applications/Emacs.app/Contents/MacOS/Emacs -Q -batch -l \ > ~/org-mode/testing/org-test.el -eval "(setq org-confirm-babel-evaluate \ > nil)" -f org-test-run-batch-tests 2>&1 > #+end_src > > ** run-all-and-convert > #+srcname: run-all-and-convert > #+begin_src ruby :results prepend org :var test_file = run-all-tests-in-isolation() > def test_name(line) "#{line.match(/(\d+\/\d+ .*)$/)}" end > def as_result(line, st) as_heading status(st)+test_name(line)+"\n", 2 end > def status(st) st ? "PASS " : "FAIL " end > def as_heading(line, level) > temp = level == 1 ? "*" : "**" > temp + " " + line > end > heading, body, trace, result = "", "", "", true > test_file.each_line do |line| > case line.chomp > when /^Running \d+ tests .*$/ > heading << line > trace = "" > when /^ passed\s+ \d+\/\d+ .*$/ > body << as_result(line, true) > body << trace; trace = "" > when /^ FAILED\s+\d+\/\d+ .*$/ > result = false > body << as_result(line, false) > body << trace; trace = "" > else > trace << line > end > end > as_heading(status(result) + > heading, 1) + > body > #+end_src > > #+results: run-all-and-convert > #+BEGIN_ORG > > > * PASS Running 109 tests (2011-09-10 08:42:30+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** PASS 12/109 ob-lilypond/assert > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 62/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers2 > OVERVIEW > Exporting... > Exporting... > Saving file /Users/martyn/org-mode/testing/link-in-heading.html... > Wrote /Users/martyn/org-mode/testing/link-in-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 63/109 test-ob-lob/call-with-header-arguments > #+call: echo(input="testing") > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (lob-minus)... > > "4" > executing Emacs-Lisp code block... > > "4" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (concat)... > > "123" > executing Emacs-Lisp code block... > > "123" > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > ** PASS 69/109 test-org-babel/elisp-in-header-arguments > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 70/109 test-org-babel/get-header > ** PASS 71/109 test-org-babel/get-src-block-info-body > ** PASS 72/109 test-org-babel/get-src-block-info-language > ** PASS 73/109 test-org-babel/get-src-block-info-tangle > ** PASS 74/109 test-org-babel/inline-src-blocks > executing Sh code block... > "1" > executing Sh code block... > "2" > executing Sh code block... > "3" > ** PASS 75/109 test-org-babel/inline-src_blk-default-results-replace-line-1 > executing Sh code block... > Code block evaluation complete. > executing Sh code block... > Code block evaluation complete. > executing Sh code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 76/109 test-org-babel/inline-src_blk-default-results-replace-line-2 > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 77/109 test-org-babel/inline-src_blk-manual-results-replace > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 78/109 test-org-babel/inline-src_blk-results-file > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 79/109 test-org-babel/inline-src_blk-results-raw > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 80/109 test-org-babel/inline-src_blk-results-scalar > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 81/109 test-org-babel/inline-src_blk-results-silent > executing Emacs-Lisp code block... > "x" > executing Emacs-Lisp code block... > "y" > executing Emacs-Lisp code block... > "y" > ** PASS 82/109 test-org-babel/inline-src_blk-results-verbatim > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 83/109 test-org-babel/multi-line-header-arguments > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 84/109 test-org-babel/multi-line-header-regexp > ** PASS 85/109 test-org-babel/org-babel-get-inline-src-block-matches > ** PASS 86/109 test-org-babel/parse-header-args > ((:var num . 9) (:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (:session) (:padnewline . "yes") (:hlines . "no")) > ** PASS 87/109 test-org-babel/parse-header-args2 > file:"~/org-mode/testing/examples/babel.org" > executing Emacs-Lisp code block... > > "14" > ** PASS 88/109 test-org-babel/simple-named-code-block > executing Emacs-Lisp code block (i-have-a-name)... > Code block evaluation complete. > ** PASS 89/109 test-org-babel/simple-variable-resolution > executing Emacs-Lisp code block (four)... > (1 2 3 4) > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 90/109 test-org-babel/src-block-regexp > ** PASS 91/109 test-org-babel/src-name-regexp > ** PASS 92/109 test-org-babel/src-name-w-name-regexp > ** PASS 93/109 test-org-exp/stripping-commas > ASCII export done, pushed to kill ring and clipboard > ** PASS 94/109 test-org-html/export-link/0 > ** PASS 95/109 test-org-table/org-table-convert-refs-to-an/1 > ** PASS 96/109 test-org-table/org-table-convert-refs-to-an/3 > ** PASS 97/109 test-org-table/org-table-convert-refs-to-rc/1 > ** PASS 98/109 test-org-table/org-table-convert-refs-to-rc/2 > ** PASS 99/109 test-org-table/simple-formula > Re-applying formulas to full table... > Re-applying formulas to full table...(line 1) > Re-applying formulas to 1 lines...done > Re-applying formulas...done > Re-applying formulas...done > ** PASS 100/109 test-org/org-link-escape-ascii-character > ** PASS 101/109 test-org/org-link-escape-ascii-ctrl-character > ** PASS 102/109 test-org/org-link-escape-custom-table > ** PASS 103/109 test-org/org-link-escape-custom-table-merge > ** PASS 104/109 test-org/org-link-escape-multibyte-character > ** PASS 105/109 test-org/org-link-escape-url-with-escaped-char > ** PASS 106/109 test-org/org-link-unescape-ascii-character > ** PASS 107/109 test-org/org-link-unescape-ascii-ctrl-character > ** PASS 108/109 test-org/org-link-unescape-ascii-extended-char > ** PASS 109/109 test-org/org-link-unescape-multibyte-character > #+END_ORG > #+BEGIN_ORG > > * PASS Running 109 tests (2011-09-10 08:37:31+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** PASS 12/109 ob-lilypond/assert > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 62/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers2 > OVERVIEW > Exporting... > Exporting... > Saving file /Users/martyn/org-mode/testing/link-in-heading.html... > Wrote /Users/martyn/org-mode/testing/link-in-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 63/109 test-ob-lob/call-with-header-arguments > #+call: echo(input="testing") > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > (("testing")) > executing Emacs-Lisp code block (lob-minus)... > > "4" > executing Emacs-Lisp code block... > > "4" > executing Emacs-Lisp code block (echo)... > > "testing" > executing Emacs-Lisp code block... > > "testing" > executing Emacs-Lisp code block (concat)... > > "123" > executing Emacs-Lisp code block... > > "123" > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > ** PASS 69/109 test-org-babel/elisp-in-header-arguments > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 70/109 test-org-babel/get-header > ** PASS 71/109 test-org-babel/get-src-block-info-body > ** PASS 72/109 test-org-babel/get-src-block-info-language > ** PASS 73/109 test-org-babel/get-src-block-info-tangle > ** PASS 74/109 test-org-babel/inline-src-blocks > executing Sh code block... > "1" > executing Sh code block... > "2" > executing Sh code block... > "3" > ** PASS 75/109 test-org-babel/inline-src_blk-default-results-replace-line-1 > executing Sh code block... > Code block evaluation complete. > executing Sh code block... > Code block evaluation complete. > executing Sh code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 76/109 test-org-babel/inline-src_blk-default-results-replace-line-2 > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 77/109 test-org-babel/inline-src_blk-manual-results-replace > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 78/109 test-org-babel/inline-src_blk-results-file > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 79/109 test-org-babel/inline-src_blk-results-raw > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 80/109 test-org-babel/inline-src_blk-results-scalar > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 81/109 test-org-babel/inline-src_blk-results-silent > executing Emacs-Lisp code block... > "x" > executing Emacs-Lisp code block... > "y" > executing Emacs-Lisp code block... > "y" > ** PASS 82/109 test-org-babel/inline-src_blk-results-verbatim > executing Emacs-Lisp code block... > Code block evaluation complete. > ** PASS 83/109 test-org-babel/multi-line-header-arguments > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 84/109 test-org-babel/multi-line-header-regexp > ** PASS 85/109 test-org-babel/org-babel-get-inline-src-block-matches > ** PASS 86/109 test-org-babel/parse-header-args > ((:var num . 9) (:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (:session) (:padnewline . "yes") (:hlines . "no")) > ** PASS 87/109 test-org-babel/parse-header-args2 > file:"~/org-mode/testing/examples/babel.org" > executing Emacs-Lisp code block... > > "14" > ** PASS 88/109 test-org-babel/simple-named-code-block > executing Emacs-Lisp code block (i-have-a-name)... > Code block evaluation complete. > ** PASS 89/109 test-org-babel/simple-variable-resolution > executing Emacs-Lisp code block (four)... > (1 2 3 4) > executing Emacs-Lisp code block... > > Code block evaluation complete. > ** PASS 90/109 test-org-babel/src-block-regexp > ** PASS 91/109 test-org-babel/src-name-regexp > ** PASS 92/109 test-org-babel/src-name-w-name-regexp > ** PASS 93/109 test-org-exp/stripping-commas > ASCII export done, pushed to kill ring and clipboard > ** PASS 94/109 test-org-html/export-link/0 > ** PASS 95/109 test-org-table/org-table-convert-refs-to-an/1 > ** PASS 96/109 test-org-table/org-table-convert-refs-to-an/3 > ** PASS 97/109 test-org-table/org-table-convert-refs-to-rc/1 > ** PASS 98/109 test-org-table/org-table-convert-refs-to-rc/2 > ** PASS 99/109 test-org-table/simple-formula > Re-applying formulas to full table... > Re-applying formulas to full table...(line 1) > Re-applying formulas to 1 lines...done > Re-applying formulas...done > Re-applying formulas...done > ** PASS 100/109 test-org/org-link-escape-ascii-character > ** PASS 101/109 test-org/org-link-escape-ascii-ctrl-character > ** PASS 102/109 test-org/org-link-escape-custom-table > ** PASS 103/109 test-org/org-link-escape-custom-table-merge > ** PASS 104/109 test-org/org-link-escape-multibyte-character > ** PASS 105/109 test-org/org-link-escape-url-with-escaped-char > ** PASS 106/109 test-org/org-link-unescape-ascii-character > ** PASS 107/109 test-org/org-link-unescape-ascii-ctrl-character > ** PASS 108/109 test-org/org-link-unescape-ascii-extended-char > ** PASS 109/109 test-org/org-link-unescape-multibyte-character > #+END_ORG > #+BEGIN_ORG > > * PASS Running 109 tests (2011-09-09 19:09:39+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** PASS 12/109 ob-lilypond/assert > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 62/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers2 > OVERVIEW > Exporting... > Exporting... > Saving file /Users/martyn/org-mode/testing/link-in-heading.html... > Wrote /Users/martyn/org-mode/testing/link-in-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 63/109 test-ob-lob/call-with-header-arguments > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > #+END_ORG > #+BEGIN_ORG > * PASS Running 109 tests (2011-09-09 18:53:43+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** PASS 12/109 ob-lilypond/assert > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > #+END_ORG > #+BEGIN_ORG > * FAIL Running 109 tests (2011-09-09 18:52:46+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** FAIL 12/109 ob-lilypond/assert > Test ob-lilypond/assert backtrace: > signal(ert-test-failed (((should nil) :form nil :value nil))) > ert-fail(((should nil) :form nil :value nil)) > (if (unwind-protect (setq value-55 nil) (setq form-description-56 (l > (unless (unwind-protect (setq value-55 nil) (setq form-description-5 > (let (form-description-56) (unless (unwind-protect (setq value-55 ni > (let ((value-55 (ert--gensym "ert-form-evaluation-aborted-"))) (let > (should nil) > (lambda nil (should nil))() > byte-code("\306\307!rq\210\310\216\311 \312\216\313\314\315\316\3 > ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > byte-code("\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 > ert-run-test([cl-struct-ert-test ob-lilypond/assert nil (lambda nil > ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st > ert-run-tests("\\(org\\|ob\\)" #[(event-type &rest event-args) "\30 > ert-run-tests-batch("\\(org\\|ob\\)") > ert-run-tests-batch-and-exit("\\(org\\|ob\\)") > org-test-run-batch-tests() > call-interactively(org-test-run-batch-tests nil nil) > command-execute(org-test-run-batch-tests) > command-line-1(("-l" "/Users/martyn/org-mode/testing/org-test.el" "- > command-line() > normal-top-level() > Test ob-lilypond/assert condition: > (ert-test-failed > ((should nil) > :form nil :value nil)) > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 62/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers2 > OVERVIEW > Exporting... > Exporting... > Saving file /Users/martyn/org-mode/testing/link-in-heading.html... > Wrote /Users/martyn/org-mode/testing/link-in-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 63/109 test-ob-lob/call-with-header-arguments > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > #+END_ORG > #+BEGIN_ORG > * FAIL Running 109 tests (2011-09-09 18:52:13+0100) > ** PASS 1/109 ob-awk/input-none > executing Awk code block... > executing Awk source code block > "42" > ** PASS 2/109 ob-awk/input-src-block > executing Awk code block (genfile)... > executing Awk source code block > "150" > ** PASS 3/109 ob-fortran/assert > ** PASS 4/109 ob-fortran/command-arguments > executing Fortran code block... > "23" > ** PASS 5/109 ob-fortran/fortran-var-program > executing Fortran code block (fortran_parameter)... > "10" > ** PASS 6/109 ob-fortran/input-var > executing Fortran code block... > "15" > ** PASS 7/109 ob-fortran/list-var > executing Fortran code block... > "1.00 2.00 3.00" > ** PASS 8/109 ob-fortran/list-var-from-table > executing Fortran code block... > "1.00 2.00" > ** PASS 9/109 ob-fortran/no-variables-with-main > executing Fortran code block... > ** PASS 10/109 ob-fortran/preprosessor-var > executing Fortran code block... > "42" > ** PASS 11/109 ob-fortran/simple-program > executing Fortran code block (hello)... > "Hello world" > ** FAIL 12/109 ob-lilypond/assert > Test ob-lilypond/assert backtrace: > signal(ert-test-failed (((should nil) :form nil :value nil))) > ert-fail(((should nil) :form nil :value nil)) > (if (unwind-protect (setq value-55 nil) (setq form-description-56 (l > (unless (unwind-protect (setq value-55 nil) (setq form-description-5 > (let (form-description-56) (unless (unwind-protect (setq value-55 ni > (let ((value-55 (ert--gensym "ert-form-evaluation-aborted-"))) (let > (should nil) > (lambda nil (should nil))() > byte-code("\306\307!rq\210\310\216\311 \312\216\313\314\315\316\3 > ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > byte-code("\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 > ert-run-test([cl-struct-ert-test ob-lilypond/assert nil (lambda nil > ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st > ert-run-tests("\\(org\\|ob\\)" #[(event-type &rest event-args) "\30 > ert-run-tests-batch("\\(org\\|ob\\)") > ert-run-tests-batch-and-exit("\\(org\\|ob\\)") > org-test-run-batch-tests() > call-interactively(org-test-run-batch-tests nil nil) > command-execute(org-test-run-batch-tests) > command-line-1(("-l" "/Users/martyn/org-mode/testing/org-test.el" "- > command-line() > normal-top-level() > Test ob-lilypond/assert condition: > (ert-test-failed > ((should nil) > :form nil :value nil)) > ** PASS 13/109 ob-lilypond/check-lilypond-alias > ** PASS 14/109 ob-lilypond/feature-provision > ** PASS 15/109 ob-lilypond/ly-OSX-ly-path > ** PASS 16/109 ob-lilypond/ly-OSX-midi-path > ** PASS 17/109 ob-lilypond/ly-OSX-pdf-path > ** PASS 18/109 ob-lilypond/ly-arrange-mode > ** PASS 19/109 ob-lilypond/ly-attempt-to-open-pdf > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.pdf > No pdf file generated so can't display! > ** PASS 20/109 ob-lilypond/ly-attempt-to-play-midi > Saving file /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi... > Wrote /Users/martyn/org-mode/testing/examples/ob-lilypond-test.midi > No midi file generated so can't play! > ** PASS 21/109 ob-lilypond/ly-check-for-compile-error > ** PASS 22/109 ob-lilypond/ly-compile-lilyfile > Compiling LilyPond... > ** PASS 23/109 ob-lilypond/ly-compile-post-tangle > ** PASS 24/109 ob-lilypond/ly-determine-ly-path > ** PASS 25/109 ob-lilypond/ly-determine-midi-path > ** PASS 26/109 ob-lilypond/ly-determine-pdf-path > ** PASS 27/109 ob-lilypond/ly-display-pdf-post-tangle > ** PASS 28/109 ob-lilypond/ly-gen-html > ** PASS 29/109 ob-lilypond/ly-gen-png > ** PASS 30/109 ob-lilypond/ly-gen-svg > ** PASS 31/109 ob-lilypond/ly-get-header-args > ** PASS 32/109 ob-lilypond/ly-mark-error-line > ** PASS 33/109 ob-lilypond/ly-nix-ly-path > ** PASS 34/109 ob-lilypond/ly-nix-midi-path > ** PASS 35/109 ob-lilypond/ly-nix-pdf-path > ** PASS 36/109 ob-lilypond/ly-parse-error-line > ** PASS 37/109 ob-lilypond/ly-parse-line-num > ** PASS 38/109 ob-lilypond/ly-play-midi-post-tangle > ** PASS 39/109 ob-lilypond/ly-process-compile-error > OVERVIEW > ** PASS 40/109 ob-lilypond/ly-set-header-args > ** PASS 41/109 ob-lilypond/ly-switch-extension-with-extensions > ** PASS 42/109 ob-lilypond/ly-switch-extension-with-paths > ** PASS 43/109 ob-lilypond/ly-toggle-arrange-mode > Arrange mode has been ENABLED. > Arrange mode has been DISABLED. > ** PASS 44/109 ob-lilypond/ly-toggle-html-generation-toggles-flag > HTML generation has been ENABLED. > HTML generation has been DISABLED. > ** PASS 45/109 ob-lilypond/ly-toggle-midi-play-toggles-flag > Post-Tangle MIDI play has been DISABLED. > Post-Tangle MIDI play has been ENABLED. > ** PASS 46/109 ob-lilypond/ly-toggle-pdf-display-toggles-flag > Post-Tangle PDF display has been DISABLED. > Post-Tangle PDF display has been ENABLED. > ** PASS 47/109 ob-lilypond/ly-toggle-png-generation-toggles-flag > PNG image generation has been ENABLED. > PNG image generation has been DISABLED. > ** PASS 48/109 ob-lilypond/ly-version-command > ob-lilypond version 0.3 > ob-lilypond version 0.3 > ** PASS 49/109 ob-lilypond/ly-version-const > ** PASS 50/109 ob-lilypond/ly-win32-ly-path > ** PASS 51/109 ob-lilypond/ly-win32-midi-path > ** PASS 52/109 ob-lilypond/ly-win32-pdf-path > ** PASS 53/109 ob-lilypond/org-babel-expand-body:lilypond > ** PASS 54/109 ob-lilypond/org-babel-prep-session:lilypond > ** PASS 55/109 ob-lilypond/org-babel-tangle-lang-exts > ** PASS 56/109 ob-lilypond/use-eps > ** PASS 57/109 ob-tangle/continued-code-blocks-w-noweb-ref > (No changes need to be saved) > Setting up indent for shell type bash > setting up indent stuff > Indentation variables are now local. > Indentation setup for shell type bash > Wrote /Users/martyn/org-mode/testing/examples/babel.sh > tangled 1 code block from babel.org > ** PASS 58/109 ob-tangle/expand-headers-as-noweb-references > file:"~/org-mode/testing/examples/babel.org" > ** PASS 59/109 ob-tangle/no-excessive-id-insertion-on-tangle > (No changes need to be saved) > tangled 0 code blocks from babel.org > ** PASS 60/109 test-ob-exp/org-babel-exp-src-blocks/w-no-file > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 61/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers > Exporting... > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > Saving file /Users/martyn/org-mode/testing/examples/no-heading.html... > Wrote /Users/martyn/org-mode/testing/examples/no-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 62/109 test-ob-exp/org-babel-exp-src-blocks/w-no-headers2 > OVERVIEW > Exporting... > Exporting... > Saving file /Users/martyn/org-mode/testing/link-in-heading.html... > Wrote /Users/martyn/org-mode/testing/link-in-heading.html > HTML export done, pushed to kill ring and clipboard > ** PASS 63/109 test-ob-lob/call-with-header-arguments > ** PASS 64/109 test-ob-lob/export-lob-lines > Exporting... > executing Emacs-Lisp code block (double)... > > "0" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "2" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "6" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "8" > executing Emacs-Lisp code block... > > Code block evaluation complete. > executing Emacs-Lisp code block (double)... > > "10" > executing Emacs-Lisp code block... > > Code block evaluation complete. > htmlize.el 1.34 or later is needed for source code formatting > Exporting... > HTML export done, pushed to kill ring and clipboard > ** PASS 65/109 test-ob-lob/ingest > 7 src blocks added to Library of Babel > ** PASS 66/109 test-ob-sh/dont-error-on-empty-results > Babel evaluation exited with code 1 > ** PASS 67/109 test-ob-sh/dont-insert-spaces-on-expanded-bodies > ** PASS 68/109 test-org-babel/default-inline-header-args > #+END_ORG -- Eric Schulte http://cs.unm.edu/~eschulte/