tests/run-tests.py
branchstable
changeset 1166 d38c648869bb
parent 1165 b0fa589b35b0
child 1168 96a0960a7909
equal deleted inserted replaced
1165:b0fa589b35b0 1166:d38c648869bb
   393            ' build %(compiler)s --build-base="%(base)s"'
   393            ' build %(compiler)s --build-base="%(base)s"'
   394            ' install --force --prefix="%(prefix)s" --install-lib="%(libdir)s"'
   394            ' install --force --prefix="%(prefix)s" --install-lib="%(libdir)s"'
   395            ' --install-scripts="%(bindir)s" %(nohome)s >%(logfile)s 2>&1'
   395            ' --install-scripts="%(bindir)s" %(nohome)s >%(logfile)s 2>&1'
   396            % dict(exe=sys.executable, pure=pure, compiler=compiler,
   396            % dict(exe=sys.executable, pure=pure, compiler=compiler,
   397                   base=os.path.join(HGTMP, "build"),
   397                   base=os.path.join(HGTMP, "build"),
   398                   prefix=INST, libdir=PYTHONDIR, bindir=BINDIR, 
   398                   prefix=INST, libdir=PYTHONDIR, bindir=BINDIR,
   399                   nohome=nohome, logfile=installerrs))
   399                   nohome=nohome, logfile=installerrs))
   400     vlog("# Running", cmd)
   400     vlog("# Running", cmd)
   401     if os.system(cmd) == 0:
   401     if os.system(cmd) == 0:
   402         if not options.verbose:
   402         if not options.verbose:
   403             os.remove(installerrs)
   403             os.remove(installerrs)