[asterisk-commits] mjordan: testsuite/asterisk/trunk r3288 - /asterisk/trunk/runtests.py
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jul 1 16:20:31 CDT 2012
Author: mjordan
Date: Sun Jul 1 16:20:30 2012
New Revision: 3288
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3288
Log:
Don't archive the actual coredumps
They add no value, take up a lot of space, and seem to upset Bamboo's
delicate archival sensibilities.
Modified:
asterisk/trunk/runtests.py
Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=3288&r1=3287&r2=3288
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Sun Jul 1 16:20:30 2012
@@ -119,9 +119,9 @@
finally:
dest_file.close()
try:
- os.rename(core, "%s/core_%s" % (dest_dir,str(random_num)))
+ os.unlink(core)
except OSError, e:
- print "Error moving core file: %s: Beware of the stale core file in CWD!" % (e,)
+ print "Error removing core file: %s: Beware of the stale core file in CWD!" % (e,)
def __archive_ast_logs(self):
ast_directories = "%s/%s" % (Asterisk.test_suite_root, self.test_name.lstrip("tests/"))
More information about the asterisk-commits
mailing list