mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 04:09:20 +02:00
tests: skip gio launch
tests on darwin
Tests currently fail under macOS because the tool claims not to work on apple devices. Since I cannot disprove this myself, I'm disabling the tests on Darwin.
This commit is contained in:
committed by
Philip Withnall
parent
c924de69f0
commit
e2970dad72
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
"""Integration tests for the gio utility."""
|
"""Integration tests for the gio utility."""
|
||||||
|
|
||||||
|
import platform
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
@@ -81,6 +82,7 @@ class TestGioTool(testprogramrunner.TestProgramRunner):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(platform.system() == "Darwin", "gio launch not supported on darwin")
|
||||||
class TestGioLaunchExpandsDesktopEntry(testprogramrunner.TestProgramRunner):
|
class TestGioLaunchExpandsDesktopEntry(testprogramrunner.TestProgramRunner):
|
||||||
"""Integration test for `gio launch` with field code %k in the Exec line.
|
"""Integration test for `gio launch` with field code %k in the Exec line.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user