Skip to content

Commit 95d1b41

Browse files
authored
runtests.sh: fixed check for cppunit (cppcheck-opensource#3072)
1 parent 253b781 commit 95d1b41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cfg/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ set -e
401401
if [ $PKGCONFIG_RETURNCODE -ne 0 ]; then
402402
echo "pkg-config needed to retrieve cppunit configuration is not available, skipping syntax check."
403403
else
404-
if pkg-config cppunit; then
404+
if ! pkg-config cppunit; then
405405
echo "cppunit not found, skipping syntax check for cppunit"
406406
else
407407
echo "cppunit found, checking syntax with ${CXX} now."

0 commit comments

Comments
 (0)