tests/run-tests.py
changeset 7139 bcbba59e233d
parent 7018 0b72836b0384
child 7144 9364c3304ca2
equal deleted inserted replaced
7138:0df098871e3d 7139:bcbba59e233d
   174     installerrs = os.path.join("tests", "install.err")
   174     installerrs = os.path.join("tests", "install.err")
   175 
   175 
   176     # Run installer in hg root
   176     # Run installer in hg root
   177     os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..'))
   177     os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..'))
   178     cmd = ('%s setup.py clean --all'
   178     cmd = ('%s setup.py clean --all'
   179            ' install --force --home="%s" --install-lib="%s"'
   179            ' install --force --prefix="%s" --install-lib="%s"'
   180            ' --install-scripts="%s" >%s 2>&1'
   180            ' --install-scripts="%s" >%s 2>&1'
   181            % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs))
   181            % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs))
   182     vlog("# Running", cmd)
   182     vlog("# Running", cmd)
   183     if os.system(cmd) == 0:
   183     if os.system(cmd) == 0:
   184         if not verbose:
   184         if not verbose: