#177 closed task (fixed)
how to run tests?
Reported by: | onlyjob | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | trivial | Milestone: | 0.15 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description
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.
Change History (12)
comment:1 Changed 9 years ago by
Milestone: | 0.5 → future |
---|---|
Status: | new → accepted |
Version: | 0.4.0 → trunk |
comment:2 Changed 9 years ago by
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. :)
comment:3 Changed 7 years ago by
Milestone: | future → 0.15 |
---|
As part of #660, let's try to at least have basic regression tests and unit tests for the next release.
comment:4 Changed 6 years ago by
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!)
comment:5 Changed 6 years ago by
Tests needed fixes in r7854 after some tests were added which required server components (and those are not built with python3).
comment:7 Changed 6 years ago by
Had to disable the new xor test in r9087 (not sure why - maybe we can't test cython modules?)
comment:8 Changed 6 years ago by
Status: | accepted → new |
---|
comment:9 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
comment:10 Changed 6 years ago by
Minor build fixes for Fedora r9210: verify the python3 libs required are installed using BuildRequires
statements.
comment:11 Changed 6 years ago by
comment:12 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/177
These tests have not been used in years...
I may try to do something about it one day, don't hold your breath.