-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for OS X (tested with OS X 10.9/Mavericks only) #3
Conversation
razzmatazz
commented
Apr 25, 2014
- use LOCAL_PEERCRED on OS X for checking credentials;
- don't do setsockopt(SOL_SOCKET, SO_RCVBUF | SO_SNDBUF, 0) on OS X;– things are working properly still anyway, no apparent buffering is present
Hmmm, not sure about the buffering settings, I can't recall why I did it, gitblame is no use You have run the whole test suite on osx right? |
Sorry, the only testing I did run was:
|
Can you try to remove this line https://github.com/ionelmc/python-manhole/blob/master/tox.ini#L22 and try to run |
A lot of tests failed;
Could this be related to disabling calls to Does it fail the same for you when you comment out the
|
Seems that there were some hardcoded signal numbers in the tests. I've fixed them - can you do a Thanks for your patience in sorting this out. |
Still fails.. https://gist.github.com/razzmatazz/11291569 |
Ok, it appears that using Can you do the rebase/test dance again? |
OK, seems to have helped, but.. |
Can you rebuild the env and retry? ( |
What's the value of |
O, it's seems it's |
Hi, are there any new changes on your master branch related to this test dump I posted? There seems to be no new commits on ionelmc/python-manhole master branch. I.e. tests still fail for me with pretty much the same trace for each failed test:
|
Ah sorry, I forgot to mention, the fixes are in https://github.com/ionelmc/python-process-tests - it's used in the test suite - it seems that there were some issues with it on osx. It has been fixed and uploaded on pypi - if you recreate the env ( |
Hi, |
We're getting very close - only 1 test failed. I've made a change so that error is captured in case you want run the tests again. |
Nice! |
It's fixed in the master. Can you do another rebase/merge and run tests again ? |
- use LOCAL_PEERCRED on OS X for checking credentials; - don't do setsockopt(SOL_SOCKET, SO_RCVBUF|SO_SNDBUF, 0) on OS X;– things are working properly still anyway, no apparent buffering is present
Finally a success! I rebased on your latest master and added a commit to remove |
Don't worry about that :) |
Changes for OS X (tested with OS X 10.9/Mavericks only)
Thanks for the fix |
No problem, the process of making it work was time well spent :) |