Sorry for troubles, this is basically just a question.
Could you please kindly advise how to run tests?
I get error:
File "tests/yatest.py", line 356, in <module> YaTest().main() File "tests/yatest.py", line 99, in main magic_invoke = py.magic.invoke File "/usr/lib/python2.6/dist-packages/py/_apipkg.py", line 112, in __makeattr raise AttributeError(name) AttributeError: magic
What command do you use?
Thank you.
These tests have not been used in years...
I may try to do something about it one day, don't hold your breath.
I see, thank you for your comment. I thought I just couldn't run them due to my ignorance in python so I feel much better now. :)
As part of #660, let's try to at least have basic regression tests and unit tests for the next release.
As of r7683, we have some simple unit tests and we run them as part of the %check step of the rpmbuild process. I will continue to add more there, and re-work at least some of the other tests into another new test tree. (this one for tests that require spawning a server and interacting with it, much more tricky to get right!)
Tests needed fixes in r7854 after some tests were added which required server components (and those are not built with python3).
Had to disable tests on centos6 (r7915) to be able to build rpms..
Had to disable the new xor test in r9087 (not sure why - maybe we can't test cython modules?)
The cython tests were failing because we were testing with the wrong python interpreter when spawning a subprocess, r9187 fixes that amongst other things. Many other small fixes and tests added in r9186, r9191 (and minor issues fixed along the way).
This will do for now, all the unit tests are being run as part of the rpmbuild check stage, and we can schedule some more thorough tests for the next release, see #847.
Minor build fixes for Fedora r9210: verify the python3 libs required are installed using BuildRequires
statements.
Many more tests added to trunk, see r9246, r9247, r9248, r9249, r9253, r9255
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/177