From 4ca33ccff2d4c1a18e2b7b4900fe046d478ecb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Alcolea=20N=C3=BA=C3=B1ez?= Date: Wed, 22 Jan 2025 18:54:05 +0100 Subject: [PATCH] fix(test): Update llvm installation script (#287) Previously, the llvm script validated a specific checksum of the llvm file, which changes frequently. Signed-off-by: Crash Co-authored-by: guillex --- tests/setup_machine.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/setup_machine.sh b/tests/setup_machine.sh index 5702972d8..d4760da6b 100755 --- a/tests/setup_machine.sh +++ b/tests/setup_machine.sh @@ -260,9 +260,14 @@ case "${release}" in LinuxMint/*|Ubuntu/*|Debian/*) # Setup latest clang/llvm wget https://apt.llvm.org/llvm.sh - echo "3080a6f961db6559698ea7692f0d5efa5ad9fde9ac6cf0758cfab134509b5bd6 llvm.sh" | sha256sum --check --status chmod +x ./llvm.sh ./llvm.sh 19 + + if [ $? -ne 0 ]; then + echo "Error: Failed to install Clang 19 using llvm.sh script." + exit 1 + fi + rm llvm.sh ;; *)