]> git.saurik.com Git - redis.git/blobdiff - tests/test_helper.tcl
Minor spelling fixes
[redis.git] / tests / test_helper.tcl
index ce1af659d56dbcd1093bf9fdc805579792ed2705..559d026471073977eba18815d190eb1e9569b3ab 100644 (file)
@@ -31,6 +31,7 @@ set ::all_tests {
     integration/aof
     unit/pubsub
     unit/slowlog
+    unit/scripting
 }
 # Index to the next test to run in the ::all_tests list.
 set ::next_test 0
@@ -140,7 +141,7 @@ proc s {args} {
 }
 
 proc cleanup {} {
-    puts -nonewline "Cleanup: warning may take some time... "
+    puts -nonewline "Cleanup: may take some time... "
     flush stdout
     catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
     catch {exec rm -rf {*}[glob tests/tmp/server.*]}
@@ -281,9 +282,11 @@ proc the_end {} {
         foreach failed $::failed_tests {
             puts "*** $failed"
         }
+        cleanup
         exit 1
     } else {
         puts "\n[colorstr bold-white {\o/}] [colorstr bold-green {All tests passed without errors!}]\n"
+        cleanup
         exit 0
     }
 }