-
Notifications
You must be signed in to change notification settings - Fork 24
Testing HOWTO
In order to facilitate problem solving, it helps to have a consistent way of communicating test results.
Please first review our Debug HOWTO and make sure you have the -dbg packages installed.
Below we describe the most common scenarios and how they are best tested (with full logging).
In the test we have two participants. We call them A (the caller, who initiates the communication) and B (the callee, who is on the receiving end of the action).
On both client A and client B, run the command:
GST_DEBUG=3 PURPLE_UNSAFE_DEBUG=1 G_MESSAGES_DEBUG=all NICE_DEBUG=all,libnice-nice-verbose pidgin --debug |& tee ~/pidgin.log
-
Activate logging in a separate terminal on each client.
On client A:
tail -f ~/pidgin.log |& tee ~/test-video-A.log
On client B:
tail -f ~/pidgin.log |& tee ~/test-video-B.log
-
Test. Let client A call client B.
-
Conclude. Stop logging with
<ctrl>-c
in the respective terminal windows where the tail-commands are running. -
Now you have two nice log files, test-video-A.log and test-video-B.log, you can send to us.
-
On client B, run
remmina
inside a debugger:gdb -ex run remmina
-
Activate logging in a separate terminal on each client.
On client A:
tail -f ~/pidgin.log |& tee ~/test-screensharing-A.log
On client B:
tail -f ~/pidgin.log |& tee ~/test-screensharing-B.log
-
Test. Let client A share the desktop with client B.
-
Conclude. Stop logging with
<ctrl>-c
in the respective terminal windows where the tail-commands are running. -
Now you have two nice log files,
test-screensharing-A.log
andtest-screensharing-B.log
you can send to us. And should the screen sharing session crash, you can catch the backtrace from the gdb-session running on client B with:bt full