summaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
Diffstat (limited to 'maint')
-rwxr-xr-xmaint/coverage2
-rwxr-xr-xmaint/with_coverage8
2 files changed, 5 insertions, 5 deletions
diff --git a/maint/coverage b/maint/coverage
index d96423143..88a9ea633 100755
--- a/maint/coverage
+++ b/maint/coverage
@@ -17,7 +17,7 @@ Suites:
"all": enables all suites.
Notes:
- You need to have grcov and llvm-tools-preview installed.
+ You need to have grcov and llvm-tools installed.
For integration tests, you'll need chutney and tor.
EOF
}
diff --git a/maint/with_coverage b/maint/with_coverage
index 3d6ecb809..19d208eb0 100755
--- a/maint/with_coverage
+++ b/maint/with_coverage
@@ -23,7 +23,7 @@ Options:
-o <path>: set the output path for the coverage report (default "coverage")
Notes:
- You need to have grcov and llvm-tools-preview installed.
+ You need to have grcov and llvm-tools installed.
EOF
}
@@ -77,9 +77,9 @@ if [ "$(command -v grcov 2>/dev/null)" = "" ]; then
exit 1
fi
-# Validate that llvm-tools-preview is installed.
-if [ "$(rustup "+${RUST_COVERAGE_TOOLCHAIN}" component list --installed | grep llvm-tools-preview)" = "" ]; then
- echo "llvm-tools-preview appears not to be installed. Try 'rustup +${RUST_COVERAGE_TOOLCHAIN} component add llvm-tools-preview'." >&2
+# Validate that llvm-tools is installed.
+if [ "$(rustup "+${RUST_COVERAGE_TOOLCHAIN}" component list --installed | grep llvm-tools)" = "" ]; then
+ echo "llvm-tools appears not to be installed. Try 'rustup +${RUST_COVERAGE_TOOLCHAIN} component add llvm-tools'." >&2
exit 1
fi