schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

add ability to run tests with py.test framework on py.py python interpreter #4

Closed matysek closed 13 years ago

matysek commented 13 years ago

The following path fixes passing some necessary options to bbfreeze python interpreter py.py.

http://db.tt/f4pqeA4

I had to modify also file load_console.py. Not sure if it is a proper fix but at least it works.

With this patch people can run the following command to run their pytest test suite with py.py interpreter:

py.test -d --tx popen//python=path_to_dist_folder/py

For more info see: http://pytest.org/xdist.html?highlight=xdist#running-tests-in-a-python-subprocess

schmir commented 13 years ago

Applied as is in https://github.com/schmir/bbfreeze/commit/5e4e2a188375cc7e0ac243c72e9db106079d1e67

The option parsing in load_console.py was just a quick hack, it should now be moved to py.py.

schmir commented 13 years ago

Forgot one thing: Thanks for the patch.