Xpra: Ticket #847: more automated tests

Follow up from #177, see also #660 - in particular things like #822.

Shadow server, normal server, proxy, etc... Even the tcp proxy can be exercised this way. Concurrent connections (spawn 10 xpra info?), etc.

Here's a tricky one that I would like to be able to catch with some tests, but it is going to be HARD: r8604 broke nvenc4 + nvenc5 with the proxy server only (fixed by r9413 + backport in r9414).



Wed, 29 Apr 2015 09:29:46 GMT - Antoine Martin: status, milestone changed

(fix milestone - too late for 0.15)


Mon, 18 May 2015 07:35:19 GMT - Antoine Martin: description changed


Wed, 20 May 2015 03:11:41 GMT - Antoine Martin: description, summary changed


Thu, 21 May 2015 11:58:10 GMT - Antoine Martin: description changed


Tue, 28 Jul 2015 06:54:27 GMT - Antoine Martin:

I don't see how this can easily be automated, but it would be nice to catch bugs like #926 automatically.


Sun, 15 Nov 2015 08:30:51 GMT - Antoine Martin: priority, milestone changed

And also catch things like: #1031


Wed, 16 Mar 2016 05:20:26 GMT - Antoine Martin: milestone changed


Tue, 12 Jul 2016 16:51:50 GMT - Antoine Martin: milestone changed

Milestone renamed


Sun, 21 Aug 2016 09:55:49 GMT - Antoine Martin: milestone changed

Milestone renamed


Sat, 28 Jan 2017 10:09:49 GMT - Antoine Martin: owner, status changed

As of r14869 + r14868 + r14867 + r14866, the unit tests have been improved, most run with both python2 and python3 and we now also run the tests as part of the build process for win32 (r14870) and osx (r14871)!

@smo: FYI, feel free to just close.


Mon, 06 Feb 2017 23:34:33 GMT - Smo: status changed; resolution set


Fri, 08 Sep 2017 09:37:10 GMT - Antoine Martin:

For reference, the latest run scripts allow us to pass a specific unit test to run (useful for debugging), and the following environment variables are also useful:

DELETE_TEMP_FILES=0 \
XPRA_ALL_DEBUG=1 \
XPRA_TEST_DEBUG=1 \
    ./run2 ./unit/server/server_sockets_test.py

Sat, 23 Jan 2021 05:07:45 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/847