testers.hasPkgConfigModules: don't display on ignored version mismatches

This commit is contained in:
nicoo 2024-05-12 14:10:54 +00:00
parent 4af3b807fc
commit 43efaaaae8

View File

@ -45,7 +45,7 @@ runCommand testName {
if [[ "$moduleVersion" == "$version" ]]; then
echo " pkg-config module $moduleName exists and has version $moduleVersion"
else
echo " pkg-config module $moduleName exists and has version $moduleVersion when $version was expected"
echo "${if versionCheck then "" else ""} pkg-config module $moduleName exists and has version $moduleVersion when $version was expected"
((versionMismatch+=1))
fi
printf '%s\t%s\n' "$moduleName" "$version" >> "$out"