aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat-tests.el b/compat-tests.el
index e8a5189..0616e6d 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -95,6 +95,8 @@
(defconst compat-tests--version (package-get-version))
(ert-deftest package-get-version ()
+ (skip-unless (string-match-p "\\`compat\\(-.+\\)?\\'"
+ (file-name-nondirectory (directory-file-name default-directory))))
(should (stringp compat-tests--version))
(should-equal 29 (car (version-to-list compat-tests--version))))