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 777982 - validate: validate/launcher_tests failing if not in uninstalled shell
validate: validate/launcher_tests failing if not in uninstalled shell
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
unspecified
Other Linux
: Normal normal
: 1.11.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-31 13:08 UTC by Guillaume Desmottes
Modified: 2017-04-07 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2017-01-31 13:08:22 UTC
"mesontest -C build --suite  gst-devtools  validate/launcher_tests" is failing when called outside of the 'uninstalled' shell:

ERROR 14:06:24 gstvalidatetestmanager validate init: None not found (subprojects/gst-devtools/validate/launcher/apps/gstvalidate.py:568)

The problem is here:
GST_VALIDATE_COMMAND = which("gst-validate-1.0", options.validate_tools_path)

which() doesn't find gst-validate-1.0 in $PATH so None is returned.

Should ./tests/launcher_tests/meson.build update $PATH?
Comment 1 Thibault Saunier 2017-01-31 13:31:55 UTC
Sounds like the solution yes.
Comment 2 Guillaume Desmottes 2017-02-02 13:31:22 UTC
https://phabricator.freedesktop.org/D1634
Comment 3 Thibault Saunier 2017-02-02 14:02:14 UTC
Commit: 765cf8679f68a092673c4be739eede887b2bf62e
URL:    http://cgit.freedesktop.org/gstreamer/gst-devtools/commit/?id=765cf8679f68a092673c4be739eede887b2bf62e

Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Thu Feb  2 14:29:30 2017 +0100

validate: meson: fix --validate-tools-path argument

The path passed to --validate-tools-path was wrong when building using
gst-build, preventing the launcher to find the validate tools.

https://bugzilla.gnome.org/show_bug.cgi?id=777982

Differential Revision: https://phabricator.freedesktop.org/D1634