diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-17 22:43:48 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-17 22:43:48 (GMT) |
commit | 3c0dd067c67372e1bcc94742209f3d3448e5f00a (patch) | |
tree | be887f9ff2a4c134cc539f8a1e79e3a28ee8f2f2 /Lib | |
parent | c2c5e00d9da5cfb01e2c84043669de3d0c6fe35b (diff) | |
download | cpython-3c0dd067c67372e1bcc94742209f3d3448e5f00a.zip cpython-3c0dd067c67372e1bcc94742209f3d3448e5f00a.tar.gz cpython-3c0dd067c67372e1bcc94742209f3d3448e5f00a.tar.bz2 |
Merged revisions 64356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64356 | benjamin.peterson | 2008-06-17 17:40:44 -0500 (Tue, 17 Jun 2008) | 1 line
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 4b36efe..14341be 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1755,6 +1755,9 @@ globals().update(testcases_threads) # def test_main(run=None): + if sys.platform.startswith("linux") and not os.path.exists("/dev/shm"): + raise TestSkipped("Missing required /dev/shm device on Linux!") + if run is None: from test.support import run_unittest as run |