diff options
Diffstat (limited to 'demoscript/Ice/multicast.py')
-rwxr-xr-x | demoscript/Ice/multicast.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/demoscript/Ice/multicast.py b/demoscript/Ice/multicast.py index ce20f77852d..11391c2c3c1 100755 --- a/demoscript/Ice/multicast.py +++ b/demoscript/Ice/multicast.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python: # ********************************************************************** # # Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. @@ -53,9 +53,12 @@ def run(clientCmd, serverCmd): runDemo(clientCmd, serverCmd) print "ok" - print "testing multicast discovery (IPv6)...", - sys.stdout.flush() - serverCmd += " --Ice.IPv6=1 --Discover.Endpoints='udp -h \"ff01::1:1\" -p 10000'" - clientCmd += " --Ice.IPv6=1 --Discover.Proxy='discover:udp -h \"ff01::1:1\" -p 10000'" - runDemo(clientCmd, serverCmd) + if demoscript.Util.defaultLanguage == "Java" and demoscript.Util.isCygwin(): + print "skipping testing multicast discovery (IPv6) under windows...", + else: + print "testing multicast discovery (IPv6)...", + sys.stdout.flush() + serverCmd += " --Ice.IPv6=1 --Discover.Endpoints='udp -h \"ff01::1:1\" -p 10000'" + clientCmd += " --Ice.IPv6=1 --Discover.Proxy='discover:udp -h \"ff01::1:1\" -p 10000'" + runDemo(clientCmd, serverCmd) print "ok" |