Fix Valgrind detection in cryptest.sh

pull/548/head
Jeffrey Walton 2017-11-14 08:24:13 -05:00
parent 4ec1f89ac6
commit 8fee0bb13f
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ fi
# Valgrind testing of C++03, C++11, C++14 and C++17 binaries. Valgrind tests take a long time...
if [[ (-z "$HAVE_VALGRIND") ]]; then
if [[ $(command -v CC 2>/dev/null) ]]; then
if [[ $(command -v valgrind 2>/dev/null) ]]; then
HAVE_VALGRIND=1
fi
fi