File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,15 +223,15 @@ def progress_callback(test):
223
223
224
224
startTime = time .time ()
225
225
try :
226
- run_tests_in_tmp_dir (run_callback )
226
+ run_tests_in_tmp_dir (run_callback , litConfig )
227
227
except KeyboardInterrupt :
228
228
sys .exit (2 )
229
229
testing_time = time .time () - startTime
230
230
231
231
display .finish ()
232
232
return testing_time
233
233
234
- def run_tests_in_tmp_dir (run_callback ):
234
+ def run_tests_in_tmp_dir (run_callback , litConfig ):
235
235
# Create a temp directory inside the normal temp directory so that we can
236
236
# try to avoid temporary test file leaks. The user can avoid this behavior
237
237
# by setting LIT_PRESERVES_TMP in the environment, so they can easily use
@@ -260,7 +260,7 @@ def run_tests_in_tmp_dir(run_callback):
260
260
shutil .rmtree (tmp_dir )
261
261
except :
262
262
# FIXME: Re-try after timeout on Windows.
263
- pass
263
+ litConfig . warning ( "Failed to delete temp directory '%s'" % tmp_dir )
264
264
265
265
def print_summary (tests , opts ):
266
266
byCode = {}
You can’t perform that action at this time.
0 commit comments