chirp icon indicating copy to clipboard operation
chirp copied to clipboard

run tests on all platforms

Open kd7lxl opened this issue 4 years ago • 4 comments

kd7lxl avatar Aug 23 '21 00:08 kd7lxl

Running the tests on the master branch on windows requires using the old test runner because the setup.py is specific for py2exe. Never tried to run them on macos, but the same problem may exist with the legacy py2app stuff. Windows tests on the py3 branch should work the same as linux because that's all modernized.

kk7ds avatar Aug 23 '21 00:08 kk7ds

Running the tests on the master branch on windows requires using the old test runner

How do you do that? Use python tests/run_tests.py instead of tox?

kd7lxl avatar Aug 23 '21 01:08 kd7lxl

How do you do that? Use python tests/run_tests.py instead of tox?

Yup, or run_tests.bat in windows. In either case, you have to have all the deps installed manually of course. Personally, I'm not sure it's worth running the tests on the other platforms in master, as I'm not sure it's ever caught anything platform-specific (and we don't have good enough coverage anyway). Running them on py3 should be easy though, and if we're going to catch up that branch and keep it close, then we'd get some tangential coverage that way.

kk7ds avatar Aug 23 '21 01:08 kk7ds

Actually, I've got most of the build stuff pulled out at this point anyway, so give me some time this week and I'll see if I can extricate the rest and make setup.py more normal in the tree. That'll make it possible for people to use tox on windows anyway.

kk7ds avatar Aug 23 '21 03:08 kk7ds