From 2f66e4ae29490393b2afb556f73c5cb8d0de6ade Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sat, 26 Sep 2009 11:48:13 +0000 Subject: Delete log files from test runs that were succesful svn path=/trunk/; revision=30170 --- tools/indexcap.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/indexcap.py') diff --git a/tools/indexcap.py b/tools/indexcap.py index 23e25a331e..40030a599a 100755 --- a/tools/indexcap.py +++ b/tools/indexcap.py @@ -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])) -- cgit v1.2.1