runtests.sh: fixed check for cppunit (#3072)
This commit is contained in:
parent
253b7810fb
commit
95d1b41a5b
|
@ -401,7 +401,7 @@ set -e
|
||||||
if [ $PKGCONFIG_RETURNCODE -ne 0 ]; then
|
if [ $PKGCONFIG_RETURNCODE -ne 0 ]; then
|
||||||
echo "pkg-config needed to retrieve cppunit configuration is not available, skipping syntax check."
|
echo "pkg-config needed to retrieve cppunit configuration is not available, skipping syntax check."
|
||||||
else
|
else
|
||||||
if pkg-config cppunit; then
|
if ! pkg-config cppunit; then
|
||||||
echo "cppunit not found, skipping syntax check for cppunit"
|
echo "cppunit not found, skipping syntax check for cppunit"
|
||||||
else
|
else
|
||||||
echo "cppunit found, checking syntax with ${CXX} now."
|
echo "cppunit found, checking syntax with ${CXX} now."
|
||||||
|
|
Loading…
Reference in New Issue