Test batch installtion in run_tests_unix.sh

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-19 00:45:15 +10:00
parent b026462018
commit d58f340a45
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -6,9 +6,8 @@ bins="cargo-deb cargo-llvm-cov cargo-binstall"
test_bins="cargo-deb cargo-llvm-cov"
# Install binaries using cargo-binstall
for bin in $bins; do
"./$1" binstall --log-level debug --no-confirm "$bin"
done
# shellcheck disable=SC2086
"./$1" binstall --log-level debug --no-confirm $bins
# Test that the installed binaries can be run
for bin in $test_bins; do