[py-dev] win32 ad-hoc testing from linux
holger krekel
holger at merlinux.de
Sun Jan 28 12:09:34 CET 2007
Hi Folks,
so py-trunk revision 37463 passes for both on win32
(with english locale) and linux for me. Thanks
to Brian for bouncing things back and forth a bit.
Note that you may now run remote Windows pylib tests
in an ad-hoc way from your linux/osx machine:
windows/remote:
* get py/execnet/script/loop_socketserver.py and
socketserver.py to the windows machine
* run loop_socketserver.py
local/driving side:
* go to a clean checkout of http://codespeak.net/svn/py/trunk
* copy "py/misc/conftest-socketgatewayrun.py" to
"conftest.py" somewhere above your py-trunk hierarchy
* edit the new conftest.py file to contain the correct
'socketserveradr' (the one, where loop_socketserver.py
was started on)
* start py.test to do ad-hoc testing of your WC, using the
custom Session found in the new conftest.py:
py.test --session=MySession py/path/local
Most options should just work (not e.g. --pdb though).
There are a few rough edges partly because i don't manage
some win32 process/socket details correctly, i guess.
have fun,
holger
More information about the Pytest-dev
mailing list