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

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

[nongnu] elpa/rust-mode 49087fd372 1/2: Skip test if Cargo isn’t instal


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 49087fd372 1/2: Skip test if Cargo isn’t installed.
Date: Sat, 17 Sep 2022 10:59:20 -0400 (EDT)

branch: elpa/rust-mode
commit 49087fd372752308cb716fdf31c08d566e225096
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Skip test if Cargo isn’t installed.
    
    This test requires Cargo and fails if it’s not installed.
---
 rust-mode-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 6c967bf450..e4949b26f7 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -3482,6 +3482,7 @@ impl Two<'a> {
    "let x = dbg!(\"foo, bar\")"))
 
 (ert-deftest rust-test-project-located ()
+  (skip-unless (executable-find rust-cargo-bin))
   (let* ((test-dir (expand-file-name "test-project/" default-directory))
          (manifest-file (expand-file-name "Cargo.toml" test-dir)))
     (let ((default-directory test-dir))



reply via email to

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