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 795282 - debug-viewer: Port to meson
debug-viewer: Port to meson
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
unspecified
Other All
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 795260
Blocks:
 
 
Reported: 2018-04-15 19:52 UTC by Thibault Saunier
Modified: 2018-04-16 00:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug-viewer: Port to meson (20.26 KB, patch)
2018-04-15 19:52 UTC, Thibault Saunier
committed Details | Review

Description Thibault Saunier 2018-04-15 19:52:12 UTC
See commit message.
Comment 1 Thibault Saunier 2018-04-15 19:52:17 UTC
Created attachment 370967 [details] [review]
debug-viewer: Port to meson

This allows us to run unit test as part of ninja test and have versionning
in sync. Also the goal is to have everything inside meson.
Comment 2 Philippe Normand 2018-04-15 20:18:23 UTC
How are the unit-tests hooked?
Comment 3 Thibault Saunier 2018-04-15 22:36:16 UTC
Review of attachment 370967 [details] [review]:

::: debug-viewer/meson.build
@@ +42,3 @@
+subdir('data')
+
+test('gst-debug-viewer', python3.find_python(), args: ['-m', 'unittest'],

> How are the unit-tests hooked?

Here I am hooking the unit tests in a very simple way, just python -m unittest from the root dir.
Comment 4 Thibault Saunier 2018-04-16 00:02:43 UTC
Attachment 370967 [details] pushed as cb4342b - debug-viewer: Port to meson