summaryrefslogtreecommitdiffstats
path: root/test/leaky-handles.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-18 17:01:47 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-18 17:01:47 (GMT)
commit05fbc42f3380435f378864b5d7d2b69083d7cd8e (patch)
treee4efaedc03bd652153f0c6d997c2159690ef4d20 /test/leaky-handles.py
parent5d9cc286a94b76f748466f4d13a12b7cb4698e7b (diff)
downloadSCons-05fbc42f3380435f378864b5d7d2b69083d7cd8e.zip
SCons-05fbc42f3380435f378864b5d7d2b69083d7cd8e.tar.gz
SCons-05fbc42f3380435f378864b5d7d2b69083d7cd8e.tar.bz2
fix test to not run on OSX
Diffstat (limited to 'test/leaky-handles.py')
-rw-r--r--test/leaky-handles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/leaky-handles.py b/test/leaky-handles.py
index 9502d1b..3787ee2 100644
--- a/test/leaky-handles.py
+++ b/test/leaky-handles.py
@@ -29,12 +29,13 @@ Verify that file handles aren't leaked to child processes
"""
import os
+import sys
import TestSCons
test = TestSCons.TestSCons()
-if os.name != 'posix':
+if os.name != 'posix' or sys.platform == 'darwin':
msg = "Skipping fork leak test on non-posix platform '%s'\n" % os.name
test.skip_test(msg)