tests/run-tests.py
branchstable
changeset 822 842e2c76e64b
parent 802 630d72ae4f76
child 823 ab2ba4e79bed
equal deleted inserted replaced
821:04cb1661adc8 822:842e2c76e64b
   360         # because of a distutils convert_path() fast-path. Avoid it at
   360         # because of a distutils convert_path() fast-path. Avoid it at
   361         # least on Windows for now, deal with .pydistutils.cfg bugs
   361         # least on Windows for now, deal with .pydistutils.cfg bugs
   362         # when they happen.
   362         # when they happen.
   363         nohome = ''
   363         nohome = ''
   364     cmd = ('%s setup.py %s clean --all'
   364     cmd = ('%s setup.py %s clean --all'
       
   365            ' build --build-base="%s"'
   365            ' install --force --prefix="%s" --install-lib="%s"'
   366            ' install --force --prefix="%s" --install-lib="%s"'
   366            ' --install-scripts="%s" %s >%s 2>&1'
   367            ' --install-scripts="%s" %s >%s 2>&1'
   367            % (sys.executable, pure, INST, PYTHONDIR, BINDIR, nohome,
   368            % (sys.executable, pure, os.path.join(HGTMP, "build"),
   368               installerrs))
   369               INST, PYTHONDIR, BINDIR, nohome, installerrs))
   369     vlog("# Running", cmd)
   370     vlog("# Running", cmd)
   370     if os.system(cmd) == 0:
   371     if os.system(cmd) == 0:
   371         if not options.verbose:
   372         if not options.verbose:
   372             os.remove(installerrs)
   373             os.remove(installerrs)
   373     else:
   374     else: