Bug 516984 Add Mozmill tests to buildbot, fix to ensure python environment copied properly. r=ted
authorJeff Hammel <jhammel@mozilla.com>
Tue, 08 Jun 2010 16:17:21 -0700
changeset 43336 145f1c6fac979996db4c502934c121b57e1005fd
parent 43335 aa113516d8f91cace4a85e4a68c135edb011c198
child 43337 861329598eedcc95ba8806a429a871f816c0f8a2
push id13659
push userctalbert@mozilla.com
push dateTue, 08 Jun 2010 23:18:23 +0000
treeherdermozilla-central@145f1c6fac97 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs516984
milestone1.9.3a5pre
first release with
nightly win64
145f1c6fac97 / 3.7a5pre / 20100608173507 / files
nightly linux32
nightly linux64
nightly mac
nightly win32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly win64
Bug 516984 Add Mozmill tests to buildbot, fix to ensure python environment copied properly. r=ted
testing/mozmill/installmozmill.py
--- a/testing/mozmill/installmozmill.py
+++ b/testing/mozmill/installmozmill.py
@@ -71,15 +71,16 @@ def main(args=None):
       print "File not found: " + f
       sys.exit(1)
 
   # packages to install in dependency order
   PACKAGES=file('PACKAGES').read().split()
   assert PACKAGES
   
   # create the virtualenv and install packages
-  os.environ.pop('PYTHONHOME', None)
-  call([sys.executable, 'virtualenv/virtualenv.py', destination])
+  env = os.environ.copy()
+  env.pop('PYTHONHOME', None)
+  call([sys.executable, 'virtualenv/virtualenv.py', destination], env=env)
   pip = os.path.join(destination, 'bin', 'pip')
-  call([pip, 'install'] + PACKAGES)
+  call([pip, 'install'] + PACKAGES, env=env)
 
 if __name__ == '__main__':
   main()