Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e49d9729
"doc/Speed.html" did not exist on "73287b2b576fa6a1ff1b61467286cbd5458881d2"
Commit
e49d9729
authored
May 05, 2020
by
antirez
Browse files
Test: --dont-clean should do first cleanup.
parent
140c20fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_helper.tcl
View file @
e49d9729
...
...
@@ -216,9 +216,6 @@ proc run_solo {name code} {
}
proc cleanup {} {
if
{
$::dont
_clean
}
{
return
}
if {!$::quiet} {puts -nonewline "Cleanup: may take some time... "}
flush stdout
catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
...
...
@@ -456,11 +453,11 @@ proc the_end {} {
foreach failed $::failed_tests {
puts "*** $failed"
}
cleanup
if {!$::dont_clean}
cleanup
exit 1
} else {
puts "\n[colorstr bold-white {\o/}] [colorstr bold-green {All tests passed without errors!}]\n"
cleanup
if {!$::dont_clean}
cleanup
exit 0
}
}
...
...
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