emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master ae21fb3: Replace (skip-unless nil) by tag :unstable


From: Michael Albinus
Subject: [Emacs-diffs] master ae21fb3: Replace (skip-unless nil) by tag :unstable in test packages
Date: Sat, 13 Apr 2019 04:58:29 -0400 (EDT)

branch: master
commit ae21fb3dbc1a596e5bc18a3b7f8a1460b9b0fca3
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Replace (skip-unless nil) by tag :unstable in test packages
    
    * test/lisp/filenotify-tests.el (file-notify--deftest-remote):
    Use tag :unstable if SKIP is non-nil.
    
    * test/lisp/net/tramp-tests.el (tramp-test36-vc-registered):
    Use ert-skip instead of (skip-unless nil).
    
    * test/lisp/progmodes/python-tests.el
    (python-tests--python-nav-end-of-statement--infloop): Use tag
    :unstable instead of (skip-unless nil).
---
 test/lisp/filenotify-tests.el       | 3 +--
 test/lisp/net/tramp-tests.el        | 2 +-
 test/lisp/progmodes/python-tests.el | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 5003620..bf13fc1 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -266,9 +266,8 @@ This returns only for the local case and gfilenotify; 
otherwise it is nil.
   (declare (indent 1))
   `(ert-deftest ,(intern (concat (symbol-name test) "-remote")) ()
      ,docstring
-     :tags '(:expensive-test)
      :expected-result (or ,expected :passed)
-     (skip-unless (not ,skip))
+     :tags ,(if skip '(:expensive-test :unstable) '(:expensive-test))
      (let* ((temporary-file-directory
             file-notify-test-remote-temporary-file-directory)
            (ert-test (ert-get-test ',test))
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 5a9541d..cc3200b 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -4579,7 +4579,7 @@ This tests also `make-symbolic-link', `file-truename' and 
`add-name-to-file'."
              ;; skip the test then.
              (condition-case nil
                  (vc-create-repo (car vc-handled-backends))
-               (error (skip-unless nil)))
+               (error (ert-skip "`vc-create-repo' not supported")))
              ;; The structure of VC-FILESET is not documented.  Let's
              ;; hope it won't change.
              (condition-case nil
diff --git a/test/lisp/progmodes/python-tests.el 
b/test/lisp/progmodes/python-tests.el
index 999cf8d..b940f45 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -5350,7 +5350,7 @@ buffer with overlapping strings."
   ;; The description of the problem it's trying to catch is not clear enough
   ;; to be able to see if the underlying problem is really fixed, sadly.
   ;; E.g. I don't know what is meant by "overlap", really.
-  (skip-unless nil)
+  :tags '(:unstable)
   (python-tests-with-temp-buffer "''' '\n''' ' '\n"
     (syntax-propertize (point-max))
     ;; Create a situation where strings nominally overlap.  This



reply via email to

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