Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2022-08-25 00:47:01 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-09-05 11:47:20 +0300
commit005fbafb301cce2fcc94861703bf8439d0bc2ef1 (patch)
treeeac8b8774ace7376da6fe8d3dcc0d716e9e6b086 /generic
parent602c2588dcf51b980d12c6cd897ecbd5ff2bd67e (diff)
threadshare: disable tests that can't work on windows
These depend on socket properties that are not available on windows
Diffstat (limited to 'generic')
-rw-r--r--generic/threadshare/tests/pipeline.rs2
-rw-r--r--generic/threadshare/tests/udpsrc.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/generic/threadshare/tests/pipeline.rs b/generic/threadshare/tests/pipeline.rs
index 464703545..fa60755d1 100644
--- a/generic/threadshare/tests/pipeline.rs
+++ b/generic/threadshare/tests/pipeline.rs
@@ -43,6 +43,7 @@ fn init() {
}
#[test]
+#[cfg(not(windows))]
fn multiple_contexts_queue() {
use std::net;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
@@ -170,6 +171,7 @@ fn multiple_contexts_queue() {
}
#[test]
+#[cfg(not(windows))]
fn multiple_contexts_proxy() {
use std::net;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
diff --git a/generic/threadshare/tests/udpsrc.rs b/generic/threadshare/tests/udpsrc.rs
index 03b15ee5c..91a18b0b9 100644
--- a/generic/threadshare/tests/udpsrc.rs
+++ b/generic/threadshare/tests/udpsrc.rs
@@ -32,6 +32,7 @@ fn init() {
}
#[test]
+#[cfg(not(windows))]
fn test_push() {
init();