From 770a8009671f9f6643e01d448419b2855ab5f9e7 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 17 Mar 2006 04:52:38 +0000 Subject: Update/expand on comments about leaking tests. --- Lib/test/leakers/test_tee.py | 1 + Misc/build.sh | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Lib/test/leakers/test_tee.py b/Lib/test/leakers/test_tee.py index 4ce24ca..d2b945d 100644 --- a/Lib/test/leakers/test_tee.py +++ b/Lib/test/leakers/test_tee.py @@ -1,6 +1,7 @@ # Test case taken from test_itertools # See http://mail.python.org/pipermail/python-dev/2005-November/058339.html +# When this is fixed remember to remove from LEAKY_TESTS in Misc/build.sh. from itertools import tee diff --git a/Misc/build.sh b/Misc/build.sh index 5f4aed3..dd4b8d0 100755 --- a/Misc/build.sh +++ b/Misc/build.sh @@ -55,13 +55,14 @@ INSTALL_DIR="/tmp/python-test/local" RSYNC_OPTS="-aC -e ssh" REFLOG="build/reflog.txt.out" -# These tests are not stable and sometimes report leaks; however, -# test_generators really leaks. Since test_generators probably won't -# be fixed real soon, disable warning about it for now. +# These tests are not stable and often falsely report leaks. # The entire leak report will be mailed if any test not in this list leaks. +# Note: test_ctypes and test_generators really leak, but are disabled +# so we don't send spam. Any test which really leaks should only +# be listed here if there are also test cases under Lib/test/leakers. LEAKY_TESTS="test_(capi|cfgparser|charmapcodec|cmd_line|compiler|ctypes|filecmp|generators|quopri|socket|threaded_import|threadedtempfile|threading|threading_local|urllib2)" -# Change this flag to "yes" for old releases to just update/build the docs. +# Change this flag to "yes" for old releases to only update/build the docs. BUILD_DISABLED="no" ## utility functions -- cgit v0.12