From b2808507189c7e560f3d9f25a5715d45ed774c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandru=20B=C4=83lu=C8=9B?= Date: Fri, 14 Dec 2018 11:17:41 +0100 Subject: [PATCH 1/2] validate:launcher: Fix discovery of commands --- validate/launcher/apps/gstvalidate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validate/launcher/apps/gstvalidate.py b/validate/launcher/apps/gstvalidate.py index 49990cf9..dba915ee 100644 --- a/validate/launcher/apps/gstvalidate.py +++ b/validate/launcher/apps/gstvalidate.py @@ -743,8 +743,8 @@ class GstValidateTestManager(GstValidateBaseTestManager): def init(self): for command, name in [ - (GstValidateBaseTestManager.TRANSCODING_COMMAND, "gst-validate-1.0"), - (GstValidateBaseTestManager.COMMAND, "gst-validate-transcoding-1.0"), + (GstValidateBaseTestManager.TRANSCODING_COMMAND, "gst-validate-transcoding-1.0"), + (GstValidateBaseTestManager.COMMAND, "gst-validate-1.0"), (GstValidateBaseTestManager.MEDIA_CHECK_COMMAND, "gst-validate-media-check-1.0")]: if not command: self.error("%s not found" % command) -- GitLab From 9a04ba50000b57fb109fbd4d4176d7b506024b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandru=20B=C4=83lu=C8=9B?= Date: Fri, 14 Dec 2018 12:00:18 +0100 Subject: [PATCH 2/2] validate:launcher: Fix error message --- validate/launcher/apps/gstvalidate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/launcher/apps/gstvalidate.py b/validate/launcher/apps/gstvalidate.py index dba915ee..219ddaa7 100644 --- a/validate/launcher/apps/gstvalidate.py +++ b/validate/launcher/apps/gstvalidate.py @@ -747,7 +747,7 @@ class GstValidateTestManager(GstValidateBaseTestManager): (GstValidateBaseTestManager.COMMAND, "gst-validate-1.0"), (GstValidateBaseTestManager.MEDIA_CHECK_COMMAND, "gst-validate-media-check-1.0")]: if not command: - self.error("%s not found" % command) + self.error("command not found: %s" % name) return False return True -- GitLab