Closed robert-scheck closed 2 months ago
- cd redhat-linux-build
- ./test/selftest
Can you try:
redhat-linux-build/test/selftest
the default data path is relative ./test/data
or you can provide a path with selftest -d ../path/to/test/data
the default data path is relative
./test/data
or you can provide a path withselftest -d ../path/to/test/data
Yes…thank you, missed -d
.
By the way, redhat-linux-build/test/selftest
does not work:
+ cd baresip-3.14.0
+ redhat-linux-build/test/selftest -d test/data/ -v
dl: mod: ./g711.so (./g711.so: cannot open shared object file: No such file or directory)
[;m
running baresip selftest version 3.14.0 with 54 tests
Local network addresses:
None available for net_interface: -
[ RUN ] test_account (rx main)
using stunserver: 'stun:stunserver.org'
[ OK ]
[ RUN ] test_account_uri_complete (rx main)
[ OK ]
[ RUN ] test_call_answer (rx main)
module g711.so: No such file or directory [2]
[;mTEST_ERR: /builddir/build/BUILD/baresip-3.14.0-build/baresip-3.14.0/test/call.c:888: (No such file or directory [2])
[;mERROR: Module g711 is not currently loaded
ua: stop all (forced=1)
test_call_answer (rx main): test failed (No such file or directory [2])
[;mtest failed (No such file or directory [2])
[;mre main loop:
maxfds: 1024
nfds: 3
method: epoll
polling: 0
sig: 0
timers: 1
mutex: 0x55b179122550
tid: 0x7f5302975b80
thread_enter: 0
async: 0x55b179122810
ua: stop all (forced=1)
Building baresip 3.14.0 from the release tarball leads to the following test failure in the Fedora build system:
Note that cmake builds happen out-of-tree at Fedora.