Merge bitcoin-core/secp256k1#1146: ci: prevent "-v/--version: not found" irrelevant error

49ae843592 ci: mostly prevent "-v/--version: not found" irrelevant error (Jonas Nick)

Pull request description:

ACKs for top commit:
  real-or-random:
    ACK 49ae843592

Tree-SHA512: 2e048b037826dff372e26103f198e0d490494e7909d17d8632b51f6d9e0629b51bcd0b55b65b2c21d63d522394ccfed481ce126cea165c087df670556bc8ccf6
This commit is contained in:
Jonas Nick 2022-11-08 13:25:17 +00:00
commit c2ee9175e9
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
1 changed files with 10 additions and 3 deletions

View File

@ -16,9 +16,16 @@ esac
env >> test_env.log
$CC -v || true
valgrind --version || true
$WRAPPER_CMD --version || true
if [ -n "$CC" ]; then
# The MSVC compiler "cl" doesn't understand "-v"
$CC -v || true
fi
if [ "$WITH_VALGRIND" = "yes" ]; then
valgrind --version
fi
if [ -n "$WRAPPER_CMD" ]; then
$WRAPPER_CMD --version
fi
./autogen.sh