Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 583333a

Browse files
committed
Don't try to reinstall ripgrep if it is already installed
1 parent 441e2e6 commit 583333a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test_rustc_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source ./scripts/setup_rust_fork.sh
88
echo "[TEST] Test suite of rustc"
99
pushd rust
1010

11-
cargo install ripgrep
11+
command -v rg >/dev/null 2>&1 || cargo install ripgrep
1212

1313
rm -r src/test/ui/{extern/,panics/,unsized-locals/,lto/,simd*,linkage*,unwind-*.rs} || true
1414
for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|lto|// needs-asm-support" src/test/ui); do

0 commit comments

Comments
 (0)