3 if test -n "${BUILT_WITH_MESON}"; then
7 STUND=../stun/tools/stund
8 TEST_FULLMODE=./test-fullmode
11 echo "Starting ICE full-mode with STUN unit test."
14 echo "STUN server not found: Cannot run unit test!" >&2
21 export NICE_STUN_SERVER=127.0.0.1
22 export NICE_STUN_SERVER_PORT=3800
24 echo "Launching $STUND on port ${NICE_STUN_SERVER_PORT}."
27 (sh -c "echo \$\$ > \"$pidfile\" && exec "$STUND" ${NICE_STUN_SERVER_PORT}") &
33 kill "$(cat "$pidfile")"