diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-17 22:40:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-17 22:40:44 (GMT) |
commit | ed77f2e143102df58212ff1f64a87f7e0c237439 (patch) | |
tree | 9a79a749dbc6ebf098012656fa15c5e6df5d4e67 /Lib/test | |
parent | fb1c4b98e9bfd3b5f799b5991081d3e4ea78d0eb (diff) | |
download | cpython-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.
Diffstat (limited to 'Lib/test')
-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 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 |