summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2022-09-17 16:35:59 +0200
committerGitHub <noreply@github.com>2022-09-17 16:35:59 +0200
commit2756f680cf3c557d282643bf0986dac7cbd20b6d (patch)
tree92e2c38e6bdfcdf6b1a5d6501cbd5873db5bf5ee
parentfd8fe789abffb202f43a9edfbd691a0a5df51b58 (diff)
parent49087fd372752308cb716fdf31c08d566e225096 (diff)
downloadrust-mode-2756f680cf3c557d282643bf0986dac7cbd20b6d.tar.gz
Merge pull request #459 from phst/skip
Skip test if Cargo isn’t installed.
-rw-r--r--rust-mode-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 6c967bf..e4949b2 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))