mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 20:07:46 +00:00
passing all but one test
This commit is contained in:
parent
e0fe83c8d2
commit
d261e178e9
|
@ -133,7 +133,7 @@ return nil."
|
||||||
(org-table-to-lisp)))
|
(org-table-to-lisp)))
|
||||||
('source-block
|
('source-block
|
||||||
(setq result (org-babel-execute-src-block
|
(setq result (org-babel-execute-src-block
|
||||||
t nil (org-combine-plists args '((:results . "last")))))
|
t nil (org-combine-plists args nil)))
|
||||||
(if (symbolp result) (format "%S" result) result))))))
|
(if (symbolp result) (format "%S" result) result))))))
|
||||||
|
|
||||||
(defun org-babel-ref-at-ref-p ()
|
(defun org-babel-ref-at-ref-p ()
|
||||||
|
|
|
@ -1975,43 +1975,43 @@ org-babel functionality.
|
||||||
of these tests may fail.
|
of these tests may fail.
|
||||||
|
|
||||||
#+TBLNAME: org-babel-tests
|
#+TBLNAME: org-babel-tests
|
||||||
| functionality | block | arg | expected | results | pass |
|
| functionality | block | arg | expected | results | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| basic evaluation | | | | | pass |
|
| basic evaluation | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| emacs lisp | basic-elisp | | 5 | 5 | pass |
|
| emacs lisp | basic-elisp | | 5 | 5 | pass |
|
||||||
| shell | basic-shell | | 6 | 6 | pass |
|
| shell | basic-shell | | 6 | 6 | pass |
|
||||||
| ruby | basic-ruby | | org-babel | org-babel | pass |
|
| ruby | basic-ruby | | org-babel | org-babel | pass |
|
||||||
| python | basic-python | | hello world | hello world | pass |
|
| python | basic-python | | hello world | hello world | pass |
|
||||||
| R | basic-R | | 13 | 13 | pass |
|
| R | basic-R | | 13 | 13 | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| tables | | | | | pass |
|
| tables | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| emacs lisp | table-elisp | | 3 | 3 | pass |
|
| emacs lisp | table-elisp | | 3 | 3 | pass |
|
||||||
| ruby | table-ruby | | 1-2-3 | 1-2-3 | pass |
|
| ruby | table-ruby | | 1-2-3 | 1-2-3 | pass |
|
||||||
| python | table-python | | 5 | 5 | pass |
|
| python | table-python | | 5 | 5 | pass |
|
||||||
| R | table-R | | 3.5 | 3.5 | pass |
|
| R | table-R | | 3.5 | 3.5 | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| source block references | | | | | pass |
|
| source block references | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| all languages | chained-ref-last | | Array | Array | pass |
|
| all languages | chained-ref-last | | Array | Array | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| source block functions | | | | | pass |
|
| source block functions | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| emacs lisp | defun-fibb | | fibbd | fibbd | pass |
|
| emacs lisp | defun-fibb | | fibbd | fibbd | pass |
|
||||||
| run over | Fibonacci | 0 | 1 | 1 | pass |
|
| run over | Fibonacci | 0 | 1 | 1 | pass |
|
||||||
| a | Fibonacci | 1 | 1 | 1 | pass |
|
| a | Fibonacci | 1 | 1 | 1 | pass |
|
||||||
| variety | Fibonacci | 2 | 2 | 2 | pass |
|
| variety | Fibonacci | 2 | 2 | 2 | pass |
|
||||||
| of | Fibonacci | 3 | 3 | 3 | pass |
|
| of | Fibonacci | 3 | 3 | 3 | pass |
|
||||||
| different | Fibonacci | 4 | 5 | 5 | pass |
|
| different | Fibonacci | 4 | 5 | 5 | pass |
|
||||||
| arguments | Fibonacci | 5 | 8 | 8 | pass |
|
| arguments | Fibonacci | 5 | 8 | 8 | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| bugs and tasks | | | | | pass |
|
| bugs and tasks | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+-----------------------------------|
|
|-------------------------+----------------------------+-----+-------------+-------------+---------------------------------|
|
||||||
| simple ruby arrays | ruby-array-test | | 3 | #ERROR | expected "3" but was "#ERROR" |
|
| simple ruby arrays | ruby-array-test | | 3 | :schulte | expected "3" but was ":schulte" |
|
||||||
| R number evaluation | bug-R-number-evaluation | | 2 | 2 | pass |
|
| R number evaluation | bug-R-number-evaluation | | 2 | 2 | pass |
|
||||||
| multi-line ruby blocks | multi-line-ruby-test | | 2 | 2 | pass |
|
| multi-line ruby blocks | multi-line-ruby-test | | 2 | 2 | pass |
|
||||||
| forcing vector results | test-forced-vector-results | | Array | Fixnum | expected "Array" but was "Fixnum" |
|
| forcing vector results | test-forced-vector-results | | Array | Array | pass |
|
||||||
#+TBLFM: $5='(if (= (length $3) 1) (progn (message (format "running %S" '(sbe $2 (n $3)))) (sbe $2 (n $3))) (sbe $2))::$6='(if (string= $4 $5) "pass" (format "expected %S but was %S" $4 $5))
|
#+TBLFM: $5='(if (= (length $3) 1) (progn (message (format "running %S" '(sbe $2 (n $3)))) (sbe $2 (n $3))) (sbe $2))::$6='(if (string= $4 $5) "pass" (format "expected %S but was %S" $4 $5))
|
||||||
|
|
||||||
** basic tests
|
** basic tests
|
||||||
|
|
Loading…
Reference in a new issue