summaryrefslogtreecommitdiffhomepage
path: root/test/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts')
-rwxr-xr-xtest/scripts/ci-runtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scripts/ci-runtests.sh b/test/scripts/ci-runtests.sh
index 4aeab28271..88a8944164 100755
--- a/test/scripts/ci-runtests.sh
+++ b/test/scripts/ci-runtests.sh
@@ -13,6 +13,12 @@ fi
TEST_OS=$1
+if [[ "$(uname -s)" == "Darwin" ]]; then
+ # NOTE: We only do this on macOS since we use containers otherwise
+ echo "Updating Rust toolchain"
+ rustup update
+fi
+
# shellcheck source=test/scripts/test-utils.sh
source "test-utils.sh"