Bug 707792 - Port bug 549561 to Thunderbird to speed up mailbloat tests. r=jhopkins,a=Standard8 test-only patch SEAMONKEY_2_6b3_BUILD1 SEAMONKEY_2_6b3_RELEASE
authorMark Banner <bugzilla@standard8.plus.com>
Tue, 06 Dec 2011 18:55:30 +0000
changeset 9396 e65027f51cf3f046cda6da0607fd6f79e5d9a336
parent 9395 a032dacc2a253d67e0ecc9a8d3b58e8379cf9033
child 9397 16977869745314878cb7b657eb84d8ed055a5b64
child 9399 93c9e097e57ba6aa01ab73dc97f2b42b18e10aa4
child 9402 cb9da6cae7284304a1b791f21157be0b0b5880ae
push id266
push userbugzilla@standard8.plus.com
push dateWed, 07 Dec 2011 10:14:06 +0000
treeherdercomm-beta@e65027f51cf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjhopkins, Standard8
bugs707792, 549561
Bug 707792 - Port bug 549561 to Thunderbird to speed up mailbloat tests. r=jhopkins,a=Standard8 test-only patch
mailnews/test/performance/bloat/runtest.py
--- a/mailnews/test/performance/bloat/runtest.py
+++ b/mailnews/test/performance/bloat/runtest.py
@@ -119,17 +119,17 @@ PROFILE = os.path.join(DISTDIR, '..', '_
 print BIN
 print EXECUTABLE
 
 # Wipe the profile
 if os.path.exists(PROFILE):
   shutil.rmtree(PROFILE)
 os.mkdir(PROFILE)
 
-defaultEnv = dict(os.environ)
+defaultEnv = automation.environment()
 defaultEnv['NO_EM_RESTART'] = '1'
 if (not "XPCOM_DEBUG_BREAK" in defaultEnv):
   defaultEnv['XPCOM_DEBUG_BREAK'] = 'stack'
 
 defaultArgs = ['-no-remote']
 if automation.IS_MAC:
   defaultArgs.append('-foreground')