Repository navigation
bpo-31904: Add posix module support for VxWorks RTOS #12118
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 from 18 commits
cce75ba
f548045
b41b4d0
3462991
8de1134
7354c9f
8668612
6f8e048
961f435
86091ad
5ea0755
30e9049
cf1a844
728165f
36e955f
3716550
c14d326
a508f47
201212d
da73b91
b380c49
7ada2ad
eb063a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1407,6 +1407,8 @@ def test_getrandom_value(self): | |
|
|
||
| @unittest.skipIf(OS_URANDOM_DONT_USE_FD , | ||
| "os.random() does not use a file descriptor") | ||
| @unittest.skipIf(sys.platform == "vxworks", | ||
| "VxWorks can't set RLIMIT_NOFILE to 1") | ||
| class URandomFDTests(unittest.TestCase): | ||
| @unittest.skipUnless(resource, "test requires the resource module") | ||
| def test_urandom_failure(self): | ||
|
|
@@ -1517,7 +1519,8 @@ def mock_execve(name, *args): | |
| os.execve = orig_execve | ||
| os.defpath = orig_defpath | ||
|
|
||
|
|
||
| @unittest.skipUnless(hasattr(os, 'execv'), | ||
| "No os.execv or os.execve function to test.") | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nitpick: usually, we just say "need os.execv", no need to elaborate ;-) |
||
| class ExecTests(unittest.TestCase): | ||
| @unittest.skipIf(USING_LINUXTHREADS, | ||
| "avoid triggering a linuxthreads bug: see issue #4970") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add posix module support for VxWorks. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Skip ExecTests and URandomFDTests in test_os.py for VxWorks. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Honestly, I don't think that this NEWS entry is really helpful to users. Can you please remove it?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed. |
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.