Don't fail tests because of OpenSSL 1.1 warnings

"Downloading with SSL errors" from downloads.feature still fails, but like this,
at least all other tests pass without the need to modify LD_LIBRARY_PATH.
This commit is contained in:
Florian Bruhin 2017-09-14 17:32:09 +02:00
parent b3734b151b
commit 5a11c96e56
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,8 @@ qt_log_ignore =
^Error when parsing the netrc file
^Image of format '' blocked because it is not considered safe. If you are sure it is safe to do so, you can white-list the format by setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST=
^QPainter::end: Painter ended with \d+ saved states
^QSslSocket: cannot resolve SSLv[23]_(client|server)_method
^QSslSocket: cannot resolve *
^Incompatible version of OpenSSL
^QQuickWidget::invalidateRenderControl could not make context current
^libpng warning: iCCP: known incorrect sRGB profile
xfail_strict = true

View File

@ -475,7 +475,9 @@ class QuteProc(testprocess.Process):
value=msg.message)
is_log_error = (msg.loglevel > logging.INFO and
not msg.message.startswith("Ignoring world ID"))
not msg.message.startswith("Ignoring world ID") and
not msg.message.startswith(
"Could not initialize QtNetwork SSL support."))
return is_log_error or is_js_error or is_ddg_load
def _maybe_skip(self):