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

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

[nongnu] elpa/evil-goggles 88cb3ffa38 100/225: Fetch evil-tests.el from


From: ELPA Syncer
Subject: [nongnu] elpa/evil-goggles 88cb3ffa38 100/225: Fetch evil-tests.el from evil's repo. Comment out parts of it with sed. Refs #15
Date: Wed, 12 Jan 2022 08:58:59 -0500 (EST)

branch: elpa/evil-goggles
commit 88cb3ffa38beedbb2023116eab543fda335a48a4
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>

    Fetch evil-tests.el from evil's repo. Comment out parts of it with sed. 
Refs #15
---
 .gitignore  |  1 +
 .travis.yml |  1 +
 Makefile    | 15 +++++++++++----
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index 397e90cca9..f61ec949f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 .elpa/
 *.elc
+test/evil-tests.el
diff --git a/.travis.yml b/.travis.yml
index 73853ab93e..67d51dac26 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,3 +14,4 @@ script:
   - make update
   - make compile
   - make test
+  - make evil-test-batch
diff --git a/Makefile b/Makefile
index a0948245f1..ed56363bae 100644
--- a/Makefile
+++ b/Makefile
@@ -11,15 +11,22 @@ test:
        $(bemacs) -l test/make-test.el
 
 clean:
-       rm -f *.elc
+       rm -f *.elc test/evil-tests.el
 
 checkdoc:
        $(bemacs) -l test/make-checkdoc.el
 
-wget-evil-tests:
-       curl 
"https://raw.githubusercontent.com/emacs-evil/evil/49965280b97d7ba8b913f4bf6ff86662e2263c4e/evil-tests.el";
 --output test/evil-tests.el
+# wget evil-tests.el and comment out evil-test-command-window* and
+# evil-test-jump tests which fail under emacs -batch;
+# NOTE: the sed command doesn't work on BSD sed
+test/evil-tests.el:
+       curl -s 
"https://raw.githubusercontent.com/emacs-evil/evil/49965280b97d7ba8b913f4bf6ff86662e2263c4e/evil-tests.el";
 --output test/evil-tests.el
+       sed -i '7471,7571{s/./;; &/}; 8080,8125{s/./;; &/}' test/evil-tests.el
 
-evil-test:
+evil-test: test/evil-tests.el
        $(emacs) -nw -Q -l test/elpa.el -l test/make-evil-test.el
 
+evil-test-batch: test/evil-tests.el
+       $(bemacs) -l test/make-evil-test.el
+
 .PHONY: update compile test clean checkdoc evil-test wget-evil-tests 
evil-test-batch



reply via email to

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