diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-06 15:13:29 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-06 15:13:32 +0100 |
| commit | 583333a2b2d50219580a2a0b8553b87b954d2df7 (patch) | |
| tree | 03372cc9761f250778006263e8269650d185d4b0 | |
| parent | 441e2e67fa47f2495bd1642e546b073724c76704 (diff) | |
| download | rust-583333a2b2d50219580a2a0b8553b87b954d2df7.tar.gz rust-583333a2b2d50219580a2a0b8553b87b954d2df7.zip | |
Don't try to reinstall ripgrep if it is already installed
| -rwxr-xr-x | scripts/test_rustc_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh index a9a44d2c654..efb4236e072 100755 --- a/scripts/test_rustc_tests.sh +++ b/scripts/test_rustc_tests.sh @@ -8,7 +8,7 @@ source ./scripts/setup_rust_fork.sh echo "[TEST] Test suite of rustc" 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 for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|lto|// needs-asm-support" src/test/ui); do |
