emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 59228e5134: test-ob-octave: Fix tests faili


From: ELPA Syncer
Subject: [elpa] externals-release/org 59228e5134: test-ob-octave: Fix tests failing on Debian CI
Date: Mon, 23 Jan 2023 05:58:02 -0500 (EST)

branch: externals-release/org
commit 59228e51345ab522d9db611c8e73caa078d86d2f
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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
---
 testing/lisp/test-ob-octave.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/testing/lisp/test-ob-octave.el b/testing/lisp/test-ob-octave.el
index 0b8ecea3bf..676a8a325b 100644
--- a/testing/lisp/test-ob-octave.el
+++ b/testing/lisp/test-ob-octave.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]