diff --git a/test/cfg/runtests.sh b/test/cfg/runtests.sh index b54195deaf5..29f2558d453 100755 --- a/test/cfg/runtests.sh +++ b/test/cfg/runtests.sh @@ -401,7 +401,7 @@ set -e if [ $PKGCONFIG_RETURNCODE -ne 0 ]; then echo "pkg-config needed to retrieve cppunit configuration is not available, skipping syntax check." else - if pkg-config cppunit; then + if ! pkg-config cppunit; then echo "cppunit not found, skipping syntax check for cppunit" else echo "cppunit found, checking syntax with ${CXX} now."