Commit b51a6a14 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Lower message severity of self test log messages

It is reported that the self test produces false positives with some
drivers. At quick glance, there is nothing in particular extremely wrong
with the test. Since not a lot can be done about the test except making
changes in drivers, the severity of the log messages should be lowered
to avoid polluting logs.


(cherry picked from commit b2d120a4)
parent e1b89e84
......@@ -597,11 +597,11 @@ bool ShaderManager::selfTest()
return true;
}
if (GLPlatform::instance()->isNvidia() && GLPlatform::instance()->glRendererString().contains("Quadro")) {
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware";
qCDebug(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware";
return true;
}
if (GLPlatform::instance()->isMesaDriver() && GLPlatform::instance()->mesaVersion() >= kVersionNumber(17, 0)) {
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Mesa drivers";
qCDebug(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Mesa drivers";
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment