[2/3] support/testing/tests/package/test_gst1_python.py: fix config and timeout
diff mbox series

Message ID 20200324173855.747054-2-aduskett@gmail.com
State Accepted, archived
Headers show
Series
  • [1/3] package/gstreamer1/gst1-python: fix libpython-dir path
Related show

Commit Message

Adam Duskett March 24, 2020, 5:38 p.m. UTC
From: Adam Duskett <Aduskett@gmail.com>

The config is missing the following packages:
  - BR2_PACKAGE_GST1_PLUGINS_BASE
    - This is needed for the videotestsrc plugin which provides videotestsrc.

  - BR2_PACKAGE_GST1_PLUGINS_BAD
    - This is needed for the debugutils plugin which provides fakevideosink.

  - BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
    - videotestsrcplugin used by the example pipeline.

  - BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS
    - fakevideosink plugin used by the example pipeline.

In addition, the default timeout is set to low and will result in a test
failure, this has been changed to 200 seconds.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 support/testing/tests/package/test_gst1_python.py | 5 +++++
 1 file changed, 5 insertions(+)

Patch
diff mbox series

diff --git a/support/testing/tests/package/test_gst1_python.py b/support/testing/tests/package/test_gst1_python.py
index 469e0f392d..c6b337dd04 100644
--- a/support/testing/tests/package/test_gst1_python.py
+++ b/support/testing/tests/package/test_gst1_python.py
@@ -14,6 +14,10 @@  class TestGst1Python(TestPythonPackageBase):
         BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y
         BR2_PACKAGE_GOBJECT_INTROSPECTION=y
         BR2_PACKAGE_GSTREAMER1=y
+        BR2_PACKAGE_GST1_PLUGINS_BASE=y
+        BR2_PACKAGE_GST1_PLUGINS_BAD=y
+        BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y
+        BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS=y
         BR2_PACKAGE_GST1_PYTHON=y
         BR2_PACKAGE_PYTHON3=y
         BR2_PACKAGE_PYTHON_GOBJECT=y
@@ -26,3 +30,4 @@  class TestGst1Python(TestPythonPackageBase):
                            options=["-initrd", cpio_file])
         self.emulator.login()
     sample_scripts = ["tests/package/sample_gst1_python.py"]
+    timeout = 200