Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
bpo-31904 : skip test_cmd_line case for VxWorks doesn't support preexec#12648
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
LihuaZhao commented Apr 1, 2019 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
support preexec subprocess.Popen doesn't support preexec, test_cmd_line need to skip the case which use preexec
Lib/test/test_cmd_line.py Outdated
| if sys.platform == "vxworks": | ||
| return False | ||
| else: | ||
| return True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest:
SUBPROCESS_SUPPORTS_PREEXEC = (sys.platform != "vxworks")
bedevere-bot commented Apr 17, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Uh oh!
There was an error while loading. Please reload this page.
LihuaZhao commented Apr 17, 2019
I have made the requested changes; please review again. |
bedevere-bot commented Apr 17, 2019
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
| # Debug build? | ||
| Py_DEBUG = hasattr(sys, "gettotalrefcount") | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum, please revert this unrelated change.
| @@ -0,0 +1 @@ | |||
| Skip test case in test_cmd_line for VxWorks doesn't support preexec when do Popen | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I'm not sure that it's worth it to document invidivual tests changes. Can you please remove the NEWS entry? I will simply add the GitHub label "skip news".
bedevere-bot commented Apr 17, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be poked with soft cushions! |
LihuaZhao commented Apr 17, 2019
I have made the requested changes; please review again. |
bedevere-bot commented Apr 17, 2019
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
bedevere-bot commented Apr 17, 2019
@vstinner: Please replace |
subprocess.Popen doesn't support preexec on VxWorks, test_cmd_line need to skip the case which use preexec
https://bugs.python.org/issue31904