1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

go: fix tests

This commit is contained in:
Steffen Vogel 2022-03-14 19:51:41 -04:00
parent 5fe22ba5ee
commit 53d18d4a4e
4 changed files with 15 additions and 6 deletions

View file

@ -43,11 +43,20 @@ var (
WebRTC: webrtc.Configuration{
ICEServers: []webrtc.ICEServer{
{
// URLs: []string{"stun:stun.l.google.com:19302"},
URLs: []string{"stun:stun.l.google.com:19302"},
},
{
URLs: []string{
"stun:edgy.0l.de:3478",
"turn:edgy.0l.de:3478?transport=udp",
"turn:edgy.0l.de:3478?transport=tcp",
"stun:stun.0l.de",
},
CredentialType: webrtc.ICECredentialTypePassword,
Username: "villas",
Credential: "villas",
},
{
URLs: []string{
"turn:turn.0l.de?transport=udp",
"turn:turn.0l.de?transport=tcp",
},
CredentialType: webrtc.ICECredentialTypePassword,
Username: "villas",

View file

@ -152,8 +152,7 @@ target_link_libraries(villas PRIVATE -Wl,--whole-archive ${WHOLE_ARCHIVES} -Wl,-
# We need to link with -Bsymbolic in order to use link libvillas
# with Go code (Cgo)
# See also: https://stackoverflow.com/a/67299849
target_link_options(villas PUBLIC "-Wl,-Bsymbolic")
# target_link_options(villas PUBLIC "-Wl,-Bsymbolic")
set_target_properties(villas PROPERTIES
VERSION ${CMAKE_PROJECT_VERSION}

View file

@ -30,6 +30,7 @@ FORMAT_TYPES=$(villas node -C 2>/dev/null | jq -r '.formats | join(" ")')
MISSING=0
for NODE in ${NODE_TYPES}; do
NODE=${NODE/./-}
[ ${NODE} == "loopback_internal" ] && continue
if [ ! -f "${SRCDIR}/etc/examples/nodes/${NODE}.conf" ]; then