From 8f32ed6fadd2ae5413fad2bddc079ec6f90d6ebb Mon Sep 17 00:00:00 2001 From: Kaiyuan Li Date: Thu, 20 Nov 2014 18:16:35 -0800 Subject: [PATCH] Fix #647 Skip tests related to RMTP plugin for Windows Partly fix #647. The RMTP plugin is not included in GStreamer for Win32, so the test based on it can cause problems. This fix will skip these tests. --- src/freeseer/tests/framework/test_plugins.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freeseer/tests/framework/test_plugins.py b/src/freeseer/tests/framework/test_plugins.py index 281090c6..64b9c888 100644 --- a/src/freeseer/tests/framework/test_plugins.py +++ b/src/freeseer/tests/framework/test_plugins.py @@ -89,6 +89,9 @@ def plugin_platform_category_cache(): def test_plugin_bin(plugin_manager, plugin_info, expected_instance): """Check that a plugin and its get method returns the proper gst.Bin object""" plugin_name, get_plugin_method = plugin_info + if get_plugin_method == 'get_output_bin' and sys.platform == 'win32': + # Skip the RMTP plugin test case because it does not support win32 platform + pytest.skip() plugins = plugin_manager.get_plugins_of_category(plugin_name) for plugin in plugins: