[Bug 754380] validate: Add support to run only particular test generators
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Nov 23 01:59:47 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754380
Thibault Saunier <tsaunier at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #316076|none |needs-work
status| |
--- Comment #9 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 316076:
--> (https://bugzilla.gnome.org/review?bug=754380&attachment=316076)
::: validate/launcher/apps/gstvalidate.py
@@ -844,3 +854,8 @@
- self.add_generators([GstValidatePlaybinTestsGenerator(self),
- GstValidateMediaCheckTestsGenerator(self),
- GstValidateTranscodingTestsGenerator(self)])
+ if not options.generators:
+ self.add_generators([GstValidatePlaybinTestsGenerator(self),
+ GstValidateMediaCheckTestsGenerator(self),
... 5 more ...
Should be elif, and I think we should allow registering the mixer generator
here, so you should name those and add them only if they are specified.
Also you should add them iterating by subclass and comparing name, no need to
hardcode anything here.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list