test-ob-octave: Fix tests failing on Debian CI
* testing/lisp/test-ob-octave.el (ob-octave/graphics-file): (ob-octave/graphics-file-session): Do not assert that octave must not emit warnings. Just test the file created by side effect. We currently have no reliable way to disambiguate warnings from non-zero exit code when using `org-babel-eval'. Warnings are ok, as long as they do not result in the file not being created in the test. Link: https://orgmode.org/list/87mt6m5n6u.fsf@localhost
This commit is contained in:
parent
e37e9b692e
commit
59228e5134
|
@ -78,8 +78,7 @@ sombrero;
|
|||
file)
|
||||
(org-babel-execute-src-block)
|
||||
(should (search-forward (format "[[file:%s]]" file) nil nil))
|
||||
(should (file-readable-p file))
|
||||
(should-not (buffer-live-p (get-buffer "*Org-Babel Error Output*"))))
|
||||
(should (file-readable-p file)))
|
||||
;; clean-up
|
||||
(delete-file file)
|
||||
(when (get-buffer "*Org-Babel Error Output*")
|
||||
|
@ -98,8 +97,7 @@ sombrero;
|
|||
(org-babel-execute-src-block)
|
||||
(should (get-buffer "*Inferior Octave*"))
|
||||
(should (search-forward (format "[[file:%s]]" file) nil nil))
|
||||
(should (file-readable-p file))
|
||||
(should-not (buffer-live-p (get-buffer "*Org-Babel Error Output*"))))
|
||||
(should (file-readable-p file)))
|
||||
;; clean-up
|
||||
(delete-file file)
|
||||
(let (kill-buffer-query-functions kill-buffer-hook)
|
||||
|
|
Loading…
Reference in New Issue