From 8f7f6d397b7d538ad4f2e4add7cac46c2f08a117 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 RTMP plugin for Windows Partly fix #647. The RTMP 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..fba54504 100644 --- a/src/freeseer/tests/framework/test_plugins.py +++ b/src/freeseer/tests/framework/test_plugins.py @@ -93,6 +93,9 @@ def test_plugin_bin(plugin_manager, plugin_info, expected_instance): for plugin in plugins: plugin.plugin_object.load_config(plugin_manager) + if plugin.name == "RTMP Streaming" and sys.platform == "win32": + # FIXME: plugin error (gh#647): Skip the RTMP plugin test case because it does not support win32 platform + continue if plugin.name == "Firewire Source": # FIXME: link error (gh#644, gh#141) continue plugin_bin = getattr(plugin.plugin_object, get_plugin_method)()