From 58580e75b05aa0ce8d86e5a766d37fab57d45b28 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 20 Jan 2021 19:38:34 +0100 Subject: [PATCH] runtests.sh: fixed check for cppunit --- test/cfg/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."