[farsight2/master] Skip upnp-ignored -> stun tests if stund isnt there

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:54 PST 2008


---
 tests/check/transmitter/rawudp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index ebe14c9..c343f2c 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -703,6 +703,9 @@ GST_START_TEST (test_rawudptransmitter_run_upnp_ignored)
   GParameter params[6];
   GObject *context;
 
+  if (stund_pid <= 0)
+    return;
+
   memset (params, 0, sizeof (GParameter) * 6);
 
   params[0].name = "associate-on-source";
-- 
1.5.6.5




More information about the farsight-commits mailing list