Delete log files from test runs that were succesful

svn path=/trunk/; revision=30170
This commit is contained in:
Kovarththanan Rajaratnam 2009-09-26 11:48:13 +00:00
parent 0638d407b7
commit 2f66e4ae29
1 changed files with 4 additions and 0 deletions

View File

@ -127,6 +127,10 @@ def compare_files(tshark_bin, tshark_cmp, num_procs, max_files, cap_files):
action = "FAILED (stderr)"
else:
action = "PASSED"
os.remove(file_result_bin[2])
os.remove(file_result_cmp[2])
os.remove(file_result_bin[3])
os.remove(file_result_cmp[3])
print "%s [%u/%u] %s %u bytes" % (action, cur_item_idx+1, max_files, file_result_bin[0], os.path.getsize(file_result_bin[0]))
print "%s [%u/%u] %s %u bytes" % (action, cur_item_idx+1, max_files, file_result_cmp[0], os.path.getsize(file_result_cmp[0]))