From 00955894437b7e5d6488cba28e7fbadae8d7a121 Mon Sep 17 00:00:00 2001 From: k4lizen <124312252+k4lizen@users.noreply.github.com> Date: Mon, 19 May 2025 10:00:47 +0200 Subject: [PATCH] clean up ./tests.sh print (#2984) --- tests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests.sh b/tests.sh index 20ccfbbb4..f588bd191 100755 --- a/tests.sh +++ b/tests.sh @@ -1,8 +1,9 @@ #!/usr/bin/env bash -# Print ldd and so glibc version -echo "Running ldd to see ldd and so glibc version" -ldd --version +# Use ldd to fetch the glibc version. +# Can help with diagnosing CI issues. +glibc_version=$(ldd --version | sed -n '1s/([^)]*)//g; s/.* \([0-9]\+\.[0-9]\+\)$/\1/p') +echo "glibc version: $glibc_version" # Run integration tests (cd tests && python3 tests.py $@)