Don't try to reinstall ripgrep if it is already installed
This commit is contained in:
parent
441e2e67fa
commit
583333a2b2
@ -8,7 +8,7 @@ source ./scripts/setup_rust_fork.sh
|
|||||||
echo "[TEST] Test suite of rustc"
|
echo "[TEST] Test suite of rustc"
|
||||||
pushd rust
|
pushd rust
|
||||||
|
|
||||||
cargo install ripgrep
|
command -v rg >/dev/null 2>&1 || cargo install ripgrep
|
||||||
|
|
||||||
rm -r src/test/ui/{extern/,panics/,unsized-locals/,lto/,simd*,linkage*,unwind-*.rs} || true
|
rm -r src/test/ui/{extern/,panics/,unsized-locals/,lto/,simd*,linkage*,unwind-*.rs} || true
|
||||||
for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|lto|// needs-asm-support" src/test/ui); do
|
for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|lto|// needs-asm-support" src/test/ui); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user