tests/run-tests.py
branchstable
changeset 1084 b668ecd81629
parent 1072 bbf056e756cc
child 1085 a2e7456b162e
equal deleted inserted replaced
1083:64fc3d450713 1084:b668ecd81629
  1195             # can't remove on solaris
  1195             # can't remove on solaris
  1196             os.environ[k] = ''
  1196             os.environ[k] = ''
  1197             del os.environ[k]
  1197             del os.environ[k]
  1198 
  1198 
  1199     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1199     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1200     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
  1200     TESTDIR = os.environ["TESTDIR"] = os.getcwd().replace('\\', '/')
  1201     if options.tmpdir:
  1201     if options.tmpdir:
  1202         options.keep_tmpdir = True
  1202         options.keep_tmpdir = True
  1203         tmpdir = options.tmpdir
  1203         tmpdir = options.tmpdir
  1204         if os.path.exists(tmpdir):
  1204         if os.path.exists(tmpdir):
  1205             # Meaning of tmpdir has changed since 1.3: we used to create
  1205             # Meaning of tmpdir has changed since 1.3: we used to create