mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
qa: Enable interface_gui.py on macOS
This is a follow-up to bitcoin/bitcoin#35551.
This commit is contained in:
@@ -21,11 +21,9 @@ class GuiTest(BitcoinTestFramework):
|
||||
self.skip_if_no_gui()
|
||||
# On Windows, bitcoin.exe exits immediately when launching bitcoin-gui.exe,
|
||||
# causing the test framework's process monitor to see a premature node exit.
|
||||
# On macOS, bitcoin-qt's Cocoa code assumes NSApp is initialized, but the
|
||||
# minimal Qt platform plugin skips that, causing crashes.
|
||||
# Both issues are likely fixable.
|
||||
if platform.system() in ("Windows", "Darwin"):
|
||||
raise SkipTest("bitcoin-gui test not supported on Windows or macOS")
|
||||
# This issue is likely fixable.
|
||||
if platform.system() == "Windows":
|
||||
raise SkipTest("bitcoin-gui test not supported on Windows")
|
||||
|
||||
def setup_nodes(self):
|
||||
self.extra_init = [{"use_gui": True}]
|
||||
|
||||
Reference in New Issue
Block a user