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

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

[elpa] externals/ssh-deploy 5846974 082/133: Added instructions about ho


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 5846974 082/133: Added instructions about how to trigger unit test with async.el integration
Date: Sat, 27 Mar 2021 14:48:48 -0400 (EDT)

branch: externals/ssh-deploy
commit 58469745108e09c2d276ae056045e7274dcce8ce
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Added instructions about how to trigger unit test with async.el integration
---
 README.md          | 10 +++++++++-
 ssh-deploy-test.el |  4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index f41ca47..a684b7f 100644
--- a/README.md
+++ b/README.md
@@ -256,7 +256,15 @@ Ange-FTP defaults to `~/.netrc` so you need to add this to 
your init script:
 
 ## Tests
 
-Run `make test` from plug-in folder to run tests, if you need to specify 
specific Emacs use export syntax i.e. `export emacs="YOUR_PATH" && make tests`
+Run `make test` from plug-in folder to run tests
+
+### From custom Emacs version
+
+if you need to specify specific Emacs use export syntax i.e. `export 
emacs="YOUR_PATH" && make tests`
+
+### With tests for async.el integration
+
+Make sure to load if before the unit tests, i.e. `~/Documents/emacs/src/emacs 
-Q -batch -L ../elpa/async-20180527.1730/ -L . -l 
../elpa/async-20180527.1730/async.el -l ssh-deploy-test.el`
 
 ## Read more
 * [Tramp](https://www.gnu.org/software/tramp/) - Transparent Remote (file) 
Access, Multiple Protocol
diff --git a/ssh-deploy-test.el b/ssh-deploy-test.el
index be2923d..d3ba791 100644
--- a/ssh-deploy-test.el
+++ b/ssh-deploy-test.el
@@ -273,8 +273,8 @@
 (defun ssh-deploy-test ()
   "Run test for plug-in."
   (if (fboundp 'async-start)
-      (message "Running tests for async.el as well since it's loaded'")
-    (message "Skipping tests for async.el since it's not loaded"))
+      (message "\nNOTE: Running tests for async.el as well since it's 
loaded\n")
+    (message "\nNOTE: Skipping tests for async.el since it's not loaded\n"))
   (ssh-deploy-test--get-revision-path)
   (ssh-deploy-test--file-is-in-path)
   (ssh-deploy-test--is-not-empty-string)



reply via email to

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