summaryrefslogtreecommitdiff
path: root/Lib/test/test_eintr.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-01 13:16:43 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-10-01 13:16:43 +0200
commit98f223dfa0440529261e921c8b9ec9a955c6d27f (patch)
treeeed6e4cc0caeb944353816427e15d0d27fcbc832 /Lib/test/test_eintr.py
parent2c6ea295babf4100422981f4ba1dbed27974a3dc (diff)
downloadcpython-git-98f223dfa0440529261e921c8b9ec9a955c6d27f.tar.gz
Issue #25277: Set a timeout of 10 minutes in test_eintr using faulthandler to
try to debug a hang on the FreeBSD 9 buildbot. Run also eintr_tester.py with python "-u" command line option to try to get the full output on hang/crash.
Diffstat (limited to 'Lib/test/test_eintr.py')
-rw-r--r--Lib/test/test_eintr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py
index d3cdda04e6..75452f2d41 100644
--- a/Lib/test/test_eintr.py
+++ b/Lib/test/test_eintr.py
@@ -16,7 +16,8 @@ class EINTRTests(unittest.TestCase):
# Run the tester in a sub-process, to make sure there is only one
# thread (for reliable signal delivery).
tester = support.findfile("eintr_tester.py", subdir="eintrdata")
- script_helper.assert_python_ok(tester)
+ # use -u to try to get the full output if the test hangs or crash
+ script_helper.assert_python_ok("-u", tester)
if __name__ == "__main__":