summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-17 22:40:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-17 22:40:44 (GMT)
commited77f2e143102df58212ff1f64a87f7e0c237439 (patch)
tree9a79a749dbc6ebf098012656fa15c5e6df5d4e67
parentfb1c4b98e9bfd3b5f799b5991081d3e4ea78d0eb (diff)
downloadcpython-ed77f2e143102df58212ff1f64a87f7e0c237439.zip
cpython-ed77f2e143102df58212ff1f64a87f7e0c237439.tar.gz
cpython-ed77f2e143102df58212ff1f64a87f7e0c237439.tar.bz2
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
-rw-r--r--Lib/test/test_multiprocessing.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 004860c..354a12d 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.test_support import run_unittest as run