After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780396 - tests: Make test suite run on macOS/Windows
tests: Make test suite run on macOS/Windows
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-22 13:16 UTC by Christoph Reiter (lazka)
Modified: 2017-03-24 07:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tests: Make test suite run on macOS (7.67 KB, patch)
2017-03-22 13:16 UTC, Christoph Reiter (lazka)
none Details | Review
tests: Make test suite run on macOS (7.72 KB, patch)
2017-03-23 18:02 UTC, Christoph Reiter (lazka)
committed Details | Review
tests: Make test suite run on Windows (18.38 KB, patch)
2017-03-23 18:02 UTC, Christoph Reiter (lazka)
committed Details | Review

Description Christoph Reiter (lazka) 2017-03-22 13:16:06 UTC
Created attachment 348482 [details] [review]
tests: Make test suite run on macOS

* Skip all tests which fail, crash or hang.
* Disable D-Bus in case dbus-run-session is not available.
Comment 1 Christoph Reiter (lazka) 2017-03-23 18:02:12 UTC
Created attachment 348594 [details] [review]
tests: Make test suite run on macOS

* Skip all tests which fail, crash or hang.
* Disable D-Bus in case dbus-run-session is not available.
Comment 2 Christoph Reiter (lazka) 2017-03-23 18:02:35 UTC
Created attachment 348595 [details] [review]
tests: Make test suite run on Windows

(in a msys2 environment)

* Replace LD_LIBRARY_PATH with gir code in runtests.py
* Remove unneeded runtests-windows.py
* Unset MSYSTEM to disable path separator hacks by msys2
* Set sys.path in runtests.py
* Skip various tests failing/hanging/crashing on Windows