Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0f77da36
Commit
0f77da36
authored
Apr 17, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_cmd_line should not leak any more, ensure an empty reflog file exists if no leaks are found
parent
cb0f66f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Misc/build.sh
Misc/build.sh
+3
-1
No files found.
Misc/build.sh
View file @
0f77da36
...
...
@@ -60,7 +60,7 @@ REFLOG="build/reflog.txt.out"
# Note: test_XXX (none currently) 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_(c
md_line|c
types|filecmp|socket|threadedtempfile|threading|threading_local|urllib2)"
LEAKY_TESTS
=
"test_(ctypes|filecmp|socket|threadedtempfile|threading|threading_local|urllib2)"
# Skip these tests altogether when looking for leaks. These tests
# do not need to be stored above in LEAKY_TESTS too.
...
...
@@ -167,6 +167,8 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
## run the tests looking for leaks
F
=
make-test-refleak.out
start
=
`
current_time
`
## ensure that the reflog exists so the grep doesn't fail
touch
$REFLOG
./python ./Lib/test/regrtest.py
-R
4:3:
$REFLOG
-u
network
$LEAKY_SKIPS
>
& build/
$F
NUM_FAILURES
=
`
egrep
-vc
"
$LEAKY_TESTS
"
$REFLOG
`
update_status
"Testing refleaks (
$NUM_FAILURES
failures)"
"
$F
"
$start
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment