-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Disable wallet and address book Qt tests on macOS minimal platform #14011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
macOS Qt minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`).
| No more conflicts as of last run. |
|
I did The test pass for me on macOS 10.13.6 with QT 5.11.1 via Homebrew, with and without this change. |
391cca5 to
f7a533f
Compare
|
@ryanofsky Could you address any comments/nits here and rebase if needed. I'd like to get this (or something equivalent) merged. |
ryanofsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated 391cca5 -> f7a533f (pr/fuqtmac.2 -> pr/fuqtmac.3) just fixing whitespace.
From comments above I guess fanquake could reproduce the test failures, and sjors couldn't, but I think it's best just to skip these tests on the uncommonly used minimal mac platform, rather than try to debug.
|
tACK f7a533f
|
src/qt/test/addressbooktests.cpp
Outdated
| #ifdef Q_OS_MAC | ||
| if (QApplication::platformName() == "minimal") { | ||
| // Disable for mac on "minimal" platform to avoid crashes inside the Qt | ||
| // framework when it tries to look up unimplmented cocoa functions, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "unimplemented" :-)
|
Updated f7a533f -> a3197c5 (pr/fuqtmac.3 -> pr/fuqtmac.4) with spelling fix. |
|
utACK a3197c5 |
|
testedAck a3197c5 |
|
Can't reproduce the error on macOS 10.14. |
|
I think this is ready for merge. It is platform specific and has tested acks from fanquake #14011 (comment) #14011 (comment) and IlyasRidhuan #14011 (comment) and an untested ACK from jonasschnelli #14011 (comment). Sjors and promag have reported in #14011 (comment) and #14011 (comment) that they actually see tests passing without this change, so the issue does seem be a little unpredictable. But this is a good, safe fix for #14349, and also a prerequisite for #11625, which expands qt test coverage and exposes more problems with the qt mac minimal platform. |
|
utACK a3197c5, code change LGTM. |
|
utACK a3197c5 Code changes are confined to tests and look good to me. |
…al platform a3197c5 Disable wallet and address book Qt tests on macOS minimal platform (Russell Yanofsky) Pull request description: macOS minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Stack trace from test crash: https://gist.github.com/ryanofsky/3401fb63c52d13d5585e7fc777361f1e Tree-SHA512: a05644ef15d75ea7d7f85ea804c6a5fe78e4e7358b189cbab639d9f7dc46163a35f77f7a2b4ae2fd6be5b9fb22898386b4d88069d5ee8d5fdbd995157c6f0846
macOS Qt minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Github-Pull: bitcoin#14011 Rebased-From: a3197c5
macOS Qt minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Github-Pull: bitcoin#14011 Rebased-From: a3197c5
…S minimal platform a3197c5 Disable wallet and address book Qt tests on macOS minimal platform (Russell Yanofsky) Pull request description: macOS minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Stack trace from test crash: https://gist.github.com/ryanofsky/3401fb63c52d13d5585e7fc777361f1e Tree-SHA512: a05644ef15d75ea7d7f85ea804c6a5fe78e4e7358b189cbab639d9f7dc46163a35f77f7a2b4ae2fd6be5b9fb22898386b4d88069d5ee8d5fdbd995157c6f0846
…S minimal platform a3197c5 Disable wallet and address book Qt tests on macOS minimal platform (Russell Yanofsky) Pull request description: macOS minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Stack trace from test crash: https://gist.github.com/ryanofsky/3401fb63c52d13d5585e7fc777361f1e Tree-SHA512: a05644ef15d75ea7d7f85ea804c6a5fe78e4e7358b189cbab639d9f7dc46163a35f77f7a2b4ae2fd6be5b9fb22898386b4d88069d5ee8d5fdbd995157c6f0846
…S minimal platform a3197c5 Disable wallet and address book Qt tests on macOS minimal platform (Russell Yanofsky) Pull request description: macOS minimal platform is frequently broken, and these are currently failing with Qt 5.11.1. The tests do pass when run on the full cocoa platform (with `test_bitcoin-qt -platform cocoa`). Stack trace from test crash: https://gist.github.com/ryanofsky/3401fb63c52d13d5585e7fc777361f1e Tree-SHA512: a05644ef15d75ea7d7f85ea804c6a5fe78e4e7358b189cbab639d9f7dc46163a35f77f7a2b4ae2fd6be5b9fb22898386b4d88069d5ee8d5fdbd995157c6f0846
macOS minimal platform is frequently broken, and these are currently failing with Qt 5.11.1.
The tests do pass when run on the full cocoa platform (with
test_bitcoin-qt -platform cocoa).Stack trace from test crash: https://gist.github.com/ryanofsky/3401fb63c52d13d5585e7fc777361f1e