commit:     a14a0b3d80f7f735e3315292174f2027ff589251
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 11:09:49 2024 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 11:09:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14a0b3d

app-editors/emacs: skip brittle treesit tests

Closes: https://bugs.gentoo.org/922525
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 app-editors/emacs/emacs-29.2.9999.ebuild | 8 ++++++++
 app-editors/emacs/emacs-29.2.ebuild      | 8 ++++++++
 app-editors/emacs/emacs-30.0.9999.ebuild | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/app-editors/emacs/emacs-29.2.9999.ebuild 
b/app-editors/emacs/emacs-29.2.9999.ebuild
index e1e4debdc81e..1919adfa22cc 100644
--- a/app-editors/emacs/emacs-29.2.9999.ebuild
+++ b/app-editors/emacs/emacs-29.2.9999.ebuild
@@ -425,6 +425,14 @@ src_test() {
                # Reason: tries to access network
                # internet-is-working
                %src/process-tests.el
+
+               # Reason: fails with stable version of tree-sitter-json due to
+               # ast changes. Bug #922525
+               %src/treesit-tests.log
+
+               # Reason: test is not skipped if tree-sitter-tsx is not 
installed
+               # Bug #922525
+               %lisp/progmodes/typescript-ts-mode-tests.el
        )
        use threads || exclude_tests+=(
                        %lisp/server-tests.el

diff --git a/app-editors/emacs/emacs-29.2.ebuild 
b/app-editors/emacs/emacs-29.2.ebuild
index 876631c7e678..1d369b00aca6 100644
--- a/app-editors/emacs/emacs-29.2.ebuild
+++ b/app-editors/emacs/emacs-29.2.ebuild
@@ -428,6 +428,14 @@ src_test() {
                # Reason: tries to access network
                # internet-is-working
                %src/process-tests.el
+
+               # Reason: fails with stable version of tree-sitter-json due to
+               # ast changes. Bug #922525
+               %src/treesit-tests.log
+
+               # Reason: test is not skipped if tree-sitter-tsx is not 
installed
+               # Bug #922525
+               %lisp/progmodes/typescript-ts-mode-tests.el
        )
        use threads || exclude_tests+=(
                        %lisp/server-tests.el

diff --git a/app-editors/emacs/emacs-30.0.9999.ebuild 
b/app-editors/emacs/emacs-30.0.9999.ebuild
index d0bc42272a6f..73f31fed6ec7 100644
--- a/app-editors/emacs/emacs-30.0.9999.ebuild
+++ b/app-editors/emacs/emacs-30.0.9999.ebuild
@@ -427,6 +427,14 @@ src_test() {
                # Reason: tries to access network
                # internet-is-working
                %src/process-tests.el
+
+               # Reason: fails with stable version of tree-sitter-json due to
+               # ast changes. Bug #922525
+               %src/treesit-tests.log
+
+               # Reason: test is not skipped if tree-sitter-tsx is not 
installed
+               # Bug #922525
+               %lisp/progmodes/typescript-ts-mode-tests.el
        )
        use threads || exclude_tests+=(
                        %lisp/server-tests.el

Reply via email to