summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/gstreamer.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/gstreamer.py b/meta/lib/oeqa/runtime/cases/gstreamer.py
new file mode 100644
index 0000000000..128630e117
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/gstreamer.py
@@ -0,0 +1,14 @@
1from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.runtime.decorator.package import OEHasPackage
3
4class GstreamerCliTest(OERuntimeTestCase):
5
6 @OEHasPackage(['gstreamer1.0'])
7 def test_gst_inspect_can_list_all_plugins(self):
8 status, output = self.target.run('gst-inspect-1.0')
9 self.assertEqual(status, 0, 'gst-inspect-1.0 does not appear to be running.')
10
11 @OEHasPackage(['gstreamer1.0'])
12 def test_gst_launch_can_create_video_pipeline(self):
13 status, output = self.target.run('gst-launch-1.0 -v fakesrc silent=false num-buffers=3 ! fakesink silent=false')
14 self.assertEqual(status, 0, 'gst-launch-1.0 does not appear to be running.')